yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #03232
Re: ball mill
> plot.addData(Torque=utils.sumTorques(millIds,(1,0,0),(1,0,0))[1],
>
> time=O.time)'
>
> but it has this errors.
>
> 'did not match C++ signature:
>
> sumTorques(boost::python::tuple, Wm3::Vector3<double>,
> Wm3::Vector3<double>) '
>
> I don't know why it has such errors.
>
>
Read some basic python docs first, that explains the difference between
list and tuple. My guess is that milllIds is a list and you have to
convert it to a tuple with millIds=tuple(millIds).
HTH, v
References