Commit 82b0209
committed
FIX Brain.save_movie(): prevent greater than possible frame times
np.arange() sometimes returns values larger than `stop` due to floating
point round-off, which becomes relevant with large `time_dilation`
values.1 parent 4edbe61 commit 82b0209
1 file changed
+7
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
2178 | 2179 | | |
2179 | 2180 | | |
2180 | 2181 | | |
| 2182 | + | |
| 2183 | + | |
2181 | 2184 | | |
2182 | 2185 | | |
2183 | | - | |
| 2186 | + | |
2184 | 2187 | | |
2185 | 2188 | | |
2186 | | - | |
2187 | | - | |
2188 | | - | |
2189 | | - | |
2190 | | - | |
2191 | | - | |
2192 | | - | |
2193 | | - | |
| 2189 | + | |
| 2190 | + | |
| 2191 | + | |
2194 | 2192 | | |
2195 | 2193 | | |
2196 | 2194 | | |
| |||
0 commit comments