From efef10eb9272a73e6aaa50acc1a5bebddca02196 Mon Sep 17 00:00:00 2001 From: Utkarsh Date: Wed, 3 Feb 2021 23:52:19 +0530 Subject: [PATCH] fix N param for tuple in bracketing solution --- src/solutions/nonlinear_solutions.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/solutions/nonlinear_solutions.jl b/src/solutions/nonlinear_solutions.jl index 32aabde27..2babda778 100644 --- a/src/solutions/nonlinear_solutions.jl +++ b/src/solutions/nonlinear_solutions.jl @@ -23,7 +23,7 @@ function build_solution(prob::AbstractNonlinearProblem, kwargs...) T = eltype(eltype(u)) - N = length((size(prob.u0)...,)) + N = length((size(u)...,)) NonlinearSolution{T,N,typeof(u),typeof(resid), typeof(prob),typeof(alg),typeof(original),typeof(left)}(