We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c5270e commit fa5373eCopy full SHA for fa5373e
tests/unit/test_expression_tree/test_operations/test_jac.py
@@ -107,11 +107,14 @@ def test_nonlinear(self):
107
108
def test_multislice_raises(self):
109
y1 = pybamm.StateVector(slice(0, 4), slice(7, 8))
110
+ y_dot1 = pybamm.StateVectorDot(slice(0, 4), slice(7, 8))
111
y2 = pybamm.StateVector(slice(4, 7))
112
with self.assertRaises(NotImplementedError):
113
y1.jac(y1)
114
115
y2.jac(y1)
116
+ with self.assertRaises(NotImplementedError):
117
+ y_dot1.jac(y1)
118
119
def test_linear_ydot(self):
120
y = pybamm.StateVector(slice(0, 4))
0 commit comments