yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #08376
Re: [Question #237047]: BubbleMat updated, interaction not working after 1 or 2 contacts
Question #237047 on Yade changed:
https://answers.launchpad.net/yade/+question/237047
Status: Open => Answered
Anton Gladky proposed the following answer:
2013/10/8 Nolan Dyck <question237047@xxxxxxxxxxxxxxxxxxxxx>:
> I am quite sure that c2 > 0 always. Nevertheless I will test using abs()
> to see if the result is any different.
Well, abs() (better fabs() in this case) will not defend your code from
division by zero in line 42.
Anton
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.