Skip to content

Commit ec48b57

Browse files
RomeoVChrisRackauckas
authored andcommitted
Make warning through lazy string
1 parent ac9344f commit ec48b57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/NonlinearSolveBase/src/linear_solve.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ fix_incompatible_linsolve_arguments(A, b, u) = u
100100
fix_incompatible_linsolve_arguments(::SArray, ::SArray, u::SArray) = u
101101
function fix_incompatible_linsolve_arguments(A, b, u::SArray)
102102
(Core.Compiler.return_type(\, Tuple{typeof(A), typeof(b)}) <: typeof(u)) && return u
103-
@warn "Solving Linear System A::$(typeof(A)) x::$(typeof(u)) = b::$(typeof(u)) is not \
103+
@warn lazy"Solving Linear System A::$(typeof(A)) x::$(typeof(u)) = b::$(typeof(u)) is not \
104104
properly supported. Converting `x` to a mutable array. Check the return type \
105105
of the nonlinear function provided for optimal performance." maxlog=1
106106
return MArray(u)

0 commit comments

Comments
 (0)