I think I did it, but there is a compilation warning:
/home/me/YADE/trunk/pkg/dem/Shop.cpp: In static member function ‘static Real Shop::calm(const boost::shared_ptr<Scene>&, int)’:
/home/me/YADE/trunk/pkg/dem/Shop.cpp:838: warning: no return statement in function returning non-void
Shall I say "return 0;" at the end of the function?
Thank you for your help.
I think I did it, but there is a compilation warning:
/home/me/ YADE/trunk/ pkg/dem/ Shop.cpp: In static member function ‘static Real Shop::calm(const boost:: shared_ ptr<Scene> &, int)’: YADE/trunk/ pkg/dem/ Shop.cpp: 838: warning: no return statement in function returning non-void
/home/me/
Shall I say "return 0;" at the end of the function?