File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lib/OptimizationSciPy/test Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -435,10 +435,10 @@ end
435435 @test sol. u ≈ [3.0 ] atol= 1e-6
436436 optprob = OptimizationFunction (rosenbrock, OptimizationBase. AutoZygote ())
437437 prob = OptimizationProblem (optprob, x0, _p)
438- @test_throws SciMLBase . IncompatibleOptimizerError solve (prob, ScipyDifferentialEvolution ())
439- @test_throws SciMLBase . IncompatibleOptimizerError solve (prob, ScipyDirect ())
440- @test_throws SciMLBase . IncompatibleOptimizerError solve (prob, ScipyDualAnnealing ())
441- @test_throws SciMLBase . IncompatibleOptimizerError solve (prob, ScipyBrute ())
438+ @test_throws OptimizationBase . IncompatibleOptimizerError solve (prob, ScipyDifferentialEvolution ())
439+ @test_throws OptimizationBase . IncompatibleOptimizerError solve (prob, ScipyDirect ())
440+ @test_throws OptimizationBase . IncompatibleOptimizerError solve (prob, ScipyDualAnnealing ())
441+ @test_throws OptimizationBase . IncompatibleOptimizerError solve (prob, ScipyBrute ())
442442 @test_throws ArgumentError solve (prob, ScipyBrent ())
443443 @test_throws ArgumentError solve (prob, ScipyRootScalar (" brentq" ))
444444 end
You can’t perform that action at this time.
0 commit comments