Skip to content

Commit

Permalink
move comment to a more appropriate line
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed May 31, 2022
1 parent 1b4fbc8 commit 42a9bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyNN/neuron/recording.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ def _get_all_signals(self, variable, ids, clear=False):
if len(ids) > 0:
signals = np.vstack([id._cell.traces[variable] for id in ids]).T
if self.record_times:
assert not simulator.state.cvode.use_local_dt()
# the following line assumes all cells are sampled at the same time
# which should be true if cvode.use_local_dt() returns False
assert not simulator.state.cvode.use_local_dt()
times = np.array(ids[0]._cell.recorded_times)
else:
expected_length = np.rint(simulator.state.tstop / self.sampling_interval) + 1
Expand Down

0 comments on commit 42a9bc9

Please sign in to comment.