Closed pgkirsch closed 8 years ago
This issue is not fixed quite yet:
In [1]: from gpkit import Variable, Model
In [2]: x = Variable('x')
In [3]: y = Variable('y')
In [4]: x.diff(y) # hmmm
Out[4]: gpkit.Monomial(x)
Oops my bad, math fail. That should be...0?
...Asked the guy who was just talking about the finer points of markov chains.
+1 I'm guilty too... (for originally implementing the incorrect test that allowed this through)
Some example behaviour: