3 ms·
The problem is usually that 'default-initializing' doesn't zero out primitive (POD) types, but leaves them uninitialized. Exactly, that's what hosed me. Some
by CamperBob2 10y ago
The problem is usually that 'default-initializing' doesn't zero out primitive (POD) types, but leaves them uninitialized.
Exactly, that's what hosed me. Some double-precision floats ended up with garbage values and I couldn't see how it was happening.