1

Closed

NBodySimpleInteractionEngine::BodyBodyInteraction incorrect acceleration update

description

Line 74 in NBodyCpu.cpp is incorrect.
    acc = r * s;
It should read as follows:
    acc += r * s;
Note that most users will not see this as their hardware will support SSE and run the SSE enabled implementations of the CPU interaction engine.
Closed Nov 28, 2012 at 5:32 PM by AdeMiller
Fixed in 100613.

comments