diff --git a/docs/src/tutorials/inspection/inspection.md b/docs/src/tutorials/inspection/inspection.md index cc4d92e3..1634d758 100644 --- a/docs/src/tutorials/inspection/inspection.md +++ b/docs/src/tutorials/inspection/inspection.md @@ -75,7 +75,7 @@ A list of available [Fit measures](@ref) is at the end of this page. To inspect the parameter estimates, we can update a `ParameterTable` object and call `details` on it: -```@example colored; ansicolor = true; output = false +```@example colored; ansicolor = true update_estimate!(partable, model_fit) details(partable) diff --git a/test/examples/political_democracy/by_parts.jl b/test/examples/political_democracy/by_parts.jl index 27de965e..8ec9b5e1 100644 --- a/test/examples/political_democracy/by_parts.jl +++ b/test/examples/political_democracy/by_parts.jl @@ -149,8 +149,13 @@ if opt_engine == :Optim end @testset "ml_solution_hessian" begin - solution = fit(SemOptimizer(engine = :Optim, algorithm = Newton()), model_ml) - + solution = fit( + SemOptimizer( + engine = :Optim, + algorithm = Newton(linesearch = BackTracking(order = 3)), + ), + model_ml, + ) update_estimate!(partable, solution) test_estimates(partable, solution_lav[:parameter_estimates_ml]; atol = 1e-2) end