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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

> I'm new to Yade

welcome :-)

> list indices must be integers, not tuple

exactly as the error says :-) In your code, it should be

O.engines = [... # assignment, note "=" symbol

and not O.engines[... # index access, not what you want

cheers
Jan

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

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to