Question #684130 on Yade changed:
https://answers.launchpad.net/yade/+question/684130
Status: Needs information => Answered
Robert Caulk proposed the following answer:
Your line
compFricDegree = 0.95*compFricDegree
inside your compactionFinished() scope, is referencing the local
variable compFricDegree before (during) assignment.
Here you will find your solution [1], specifically the section titled
"scope".
[1]https://sebastianraschka.com/Articles/2014_python_scope_and_namespaces.html
--
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