From 683c54a39ca71d8b8b5effda34ebe30bd9d4a550 Mon Sep 17 00:00:00 2001 From: Rafael Arutjunjan Date: Thu, 8 Dec 2022 16:54:57 +0100 Subject: [PATCH] Update ConfidenceRegions.jl Typo --- src/ConfidenceRegions.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ConfidenceRegions.jl b/src/ConfidenceRegions.jl index e9d9d2d1..59e51c12 100644 --- a/src/ConfidenceRegions.jl +++ b/src/ConfidenceRegions.jl @@ -498,7 +498,7 @@ function ConfidenceRegions(DM::AbstractDataModel, Confnums::AbstractVector{<:Rea Prog = Progress(length(Range); enabled=verbose, desc="Computing boundaries... ", dt=1, showspeed=true) sols = (parallel ? progress_pmap : progress_map)(x->ConfidenceRegion(DM, x; tol=tol, dof=dof, Boundaries=Boundaries, meth=meth, mfd=mfd, ADmode=ADmode, kwargs...), Range; progress=Prog) if tests - NotTerminated = map(x->(x.retcode !=== SciMLBase.ReturnCode.Terminated), sols) + NotTerminated = map(x->!(x.retcode === SciMLBase.ReturnCode.Terminated), sols) verbose && sum(NotTerminated) != 0 && @warn "Solutions $((1:length(sols))[NotTerminated]) did not exit properly." roots = StructurallyIdentifiable(DM, sols; parallel=parallel) Unidentifiables = map(x->(length(x) != 0), roots)