Skip to content

Commit

Permalink
Merge pull request #104 from dokato/patch-1
Browse files Browse the repository at this point in the history
Minor fix in simulator error message
  • Loading branch information
marmaduke woodman authored Oct 4, 2019
2 parents 6cc4acf + 342c13a commit 6f2bb78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tvb/simulator/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ def _configure_history(self, initial_conditions):
return self._configure_history(initial_conditions)
elif ic_shape[1:] != self.good_history_shape[1:]:
raise ValueError("Incorrect history sample shape %s, expected %s"
% ic_shape[1:], self.good_history_shape[1:])
% (ic_shape[1:], self.good_history_shape[1:]))
else:
if ic_shape[0] >= self.horizon:
LOG.debug("Using last %d time-steps for history.", self.horizon)
Expand Down

0 comments on commit 6f2bb78

Please sign in to comment.