You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using NonlinearSolve
using LinearAlgebra
using ExponentialUtilities
dim =2functionf(u, p)
v =rand(2)
returnexpv(1, u, v) - v*2end
u0 =rand(dim, dim) *0.01
p =nothing
prob =NonlinearProblem(f, u0, p)
sol =solve(prob)
display(sol)
err = sol -zeros(dim, dim)
display(err)
Describe the bug 🐞
Solver fails when
expv
is in the function.exponential!
kinda works.Expected behavior
Optimize. See https://discourse.julialang.org/t/how-can-i-use-nonlinearsolve-jl-with-matrix-functions/112379
Minimal Reproducible Example 👇
Error & Stacktrace⚠️
Environment (please complete the following information):
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: