Skip to content
Snippets Groups Projects
Commit 4ac62423 authored by Daniel Brown's avatar Daniel Brown
Browse files

fixing output selector

parent 50d0ed53
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ class katRun(object):
if len(idx) > 0 and self.y.shape == ():
# In the case we have a noxaxis and just one output...
return float(self.y)
elif len(idx) == 1 and len(self.y.shape) >= 1:
elif len(idx) == 1 and len(self.y.shape) == 1:
# only selecting a single output from a 1D array
if self.y.size == 1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment