![](https://secure.gravatar.com/avatar/07227c9eef9320ee712520d819ec5c36.jpg?s=120&d=mm&r=g)
19 Apr
2004
19 Apr
'04
8:39 a.m.
Hi,
Another error that valgrind has spotted is the unitialised indices 4 and 5 in the NR::Matrix tp at the top of matrix_is_isometry() (nr-arena-shape.cpp:362).
Should I fix this here, or would it be better to make the NR::Matrix default constructor zero-init its members?
Cheers
Carl
![](https://secure.gravatar.com/avatar/283b2540e7846a3831b030a05daf968e.jpg?s=120&d=mm&r=g)
19 Apr
19 Apr
10:16 a.m.
Carl Hetherington wrote:
Hi,
Another error that valgrind has spotted is the unitialised indices 4 and 5 in the NR::Matrix tp at the top of matrix_is_isometry() (nr-arena-shape.cpp:362).
Should I fix this here, or would it be better to make the NR::Matrix default constructor zero-init its members?
I zeroed the members (actually, it doesn't matter unless 4 or 5 is a special value, which they shouldn't be :)
njh, the zeroator.
7586
Age (days ago)
7586
Last active (days ago)
1 comments
2 participants
participants (2)
-
Carl Hetherington
-
Nathan Hurst