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 92344ec commit 6a5a885Copy full SHA for 6a5a885
test/extensions/homotopy_continuation.jl
@@ -164,9 +164,9 @@ end
164
165
@testset "Rational functions" begin
166
@variables x=2.0 y=2.0
167
- @parameters n = 4
+ @parameters n = 5
168
@mtkbuild sys = NonlinearSystem([
169
- 0 ~ (x^2 - n * x + n) * (x - 1) / (x - 2) / (x - 3)
+ 0 ~ (x^2 - n * x + 6) * (x - 1) / (x - 2) / (x - 3)
170
])
171
prob = HomotopyContinuationProblem(sys, [])
172
sol = solve_allroots_closest(prob)
@@ -184,7 +184,7 @@ end
184
0 ~ ((y - 3) / (y - 4)) * (n / (y - 5)) + ((x - 1.5) / (x - 5.5))^2
185
],
186
[x, y],
187
- [n])
+ [n]; defaults = [n => 4])
188
sys = complete(sys)
189
190
sol = solve(prob, singlerootalg)
0 commit comments