Comment 4 for bug 1369793

Revision history for this message
John (jbt-8) wrote :

I had the same problem (well, my daughter found it), and valgrind pointed me to an issue which was easily fixed:
Array.h at line 106 (in svn trunk - if you have a different version it might be elsewhere):
memcpy( m_data+i, m_data+i+1, (m_size-i-1)*sizeof(T) );
should be
memmove( m_data+i, m_data+i+1, (m_size-i-1)*sizeof(T) );

I emailed the address on the numpty physics page, but I don't know if it's actively monitored so I thought I'd mention it here, too.