← Back to team overview

yade-users team mailing list archive

Re: [Question #432620]: How to understand getStress?

 

Question #432620 on Yade changed:
https://answers.launchpad.net/yade/+question/432620

Bruno Chareyre proposed the following answer:
Hi Jan,
I'm not sure we can something about it.
I think static_casting to wrong type has undefined behavior, and "undefined" include the possibility of continuing silently...
A debug build would show the error very explicitely though (since it would be a dynamic_cast). 
Bruno

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.