Commit 36a5df9
Write output using scientific notation
The velocities were previously hard cut off if too low. This is an
unnecessary restrictions for users and leads to misleading confidence
in large velocities, as more digits are preserved. Using scientific
notation solves this problem.
Compared to the previous notation ten more characters are used per
line (that is two additional characters per value). However, the
benefit of handling a wider range of velocities outweighs this in
my opinion.
For the test to still pass, the threshold of image comparison needed
to be adjusted. This is due to the higher round-off error with the
old notation used in the reference image (specifically in 'u').1 parent 3b162c0 commit 36a5df9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
0 commit comments