← Back to team overview

yade-users team mailing list archive

Re: [Question #691828]: Deactivate triaxial stress controller

 

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

Jan Stránský posted a new comment:
just to make the Chu's answer a bit more verbose. If you put comma the end of the assignment line, Python interpret it as a tulple:
###
a = True
b = True,
print(a)
print(b)
print(type(a))
print(type(b))
###
This is what the error says, that it expects a boolean (e.g. True), but got a tuple: (True,)

cheers
Jan

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