Question #188478 on Yade changed: https://answers.launchpad.net/yade/+question/188478
Status: Answered => Open Chiara Modenese is still having a problem: On 22 Feb 2012, at 11:55, Chareyre wrote: > Your question #188478 on Yade changed: > https://answers.launchpad.net/yade/+question/188478 > > Status: Open => Answered > > Chareyre proposed the following answer: > By "difference", do you mean q1*q2^-1 or q1-q2? > The first case should be safe now if eigen fixed the problem (I think they > should but I didn't keep exact track of what they did), else the isnan() test > is a workaround. Of course I meant the first case. OK, so the workaround is still necessary, I just wanted confirmation of that. What about this second line? if (aa.angle() > Mathr::PI) aa.angle() -= Mathr::TWO_PI; // angle is between 0 and 2*pi, but should be between -pi and pi Thanks, Chiara > The second case: does it make sense mathematicaly? > > -- > If this answers your question, please go to the following page to let us > know that it is solved: > https://answers.launchpad.net/yade/+question/188478/+confirm?answer_id=0 > > If you still need help, you can reply to this email or go to the > following page to enter your feedback: > https://answers.launchpad.net/yade/+question/188478 > > You received this question notification because you asked the question. -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp