Quote:
Originally Posted by Method
reports->at(highParticle).center_mass_y;
I think lines like this may be what is guilty... is there anything wrong with this?
reports is the vector particle analysis report and high particle is an integer
I commented all of these lines out (I used them to compare particles and create variables like highParticle or highParticleCenterX etc.)
|
There are many things that could go wrong with that statement. Are you sure reports is not a NULL pointer? Are you sure highParticle contains a valid index etc?