Commit da68289
ENH: Use ConvertNumberToString for voxel spacing in VoxBoCUB IO
m_Spacing[] values (double) were written to the CUB text header with
default stream precision (6 significant digits), silently truncating
sub-millimeter or high-precision spacing values. Replace with
itk::ConvertNumberToString() for shortest-round-trip serialization.
See: #3249
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f682853 commit da68289
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
668 | 669 | | |
669 | 670 | | |
670 | 671 | | |
671 | | - | |
| 672 | + | |
| 673 | + | |
672 | 674 | | |
673 | 675 | | |
674 | 676 | | |
| |||
0 commit comments