← Back to team overview

yade-users team mailing list archive

Re: [Question #634452]: A question about the function

 

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

Klaus Thoeni proposed the following answer:
This is another problem, since cz is a float (cz =
O.bodies(i).state.pos[2] gives you one value) and you can't do max(cz)
or max(cz). Didn't see this before.

Not sure what you want to calculate but I suggest you do it step by step
in the ipython terminal first and check your variables.

HTH
Klaus

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