Nov-28-2018, 02:31 PM
As the error states, you did not define W. You did define self.W in your __init__, but that does not allow you to reference W anywhere in the class. You need to use self.W to refer to the self.W you created in __init__ (and self.X, self.yd, self.z, self.y1, and so on).
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures