[bugfix] use only vaild values for plotting

This commit is contained in:
2016-06-13 11:27:16 +02:00
parent 3568a8a59a
commit 79f0982558
2 changed files with 3 additions and 1 deletions

View File

@@ -155,7 +155,7 @@ class Comparison(object):
method = operator.methodcaller(method_name)
pdf_list = self.get_all(phase)
rarray = map(method, pdf_list)
return rarray
return np.array(rarray)
def get_expectation_array(self, phase):
return self.get_array(phase, 'expectation')