yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #03697
Re: [yade-users] Does utils.unbalancedForce() and utils.kineticEnergy() deal with deleted bodies?
> Does the latest version deal with that or is it a real bug?
Hi Luc, thanks for reporting. The fix is trivial, it will land in trunk
with my next commit. If you need the fix in yoru version, go to
Shop::{unbalancedForce,kineticEnergy} and in the FOREACH loop, change
if(!b->isDynamic()) continue;
to
if(!b || !b->isDynamic()) continue;
Cheers, v.
Follow ups
References