We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa29107 commit ea5a003Copy full SHA for ea5a003
test/basic_transformations.jl
@@ -148,6 +148,8 @@ end
148
@test_throws "structurally simplified" change_independent_variable(structural_simplify(M), y)
149
@test_throws "Got 0 equations:" change_independent_variable(M, w)
150
@test_throws "Got 0 equations:" change_independent_variable(M, v)
151
+ M = ODESystem([2 * D(x) ~ 1, v ~ x], t; name = :M) # TODO: allow equations like this
152
+ @test_throws "Got 0 equations:" change_independent_variable(M, x)
153
M = ODESystem([D(x) ~ 1, v ~ 1], t; name = :M)
154
@test_throws "Got 2 equations:" change_independent_variable(M, x, [D(x) ~ 2])
155
@test_throws "not a function of the independent variable" change_independent_variable(M, y)
0 commit comments