Closed
Description
Describe the bug 🐞
Running the four blocks of code on the front page of the docs produces three errors, including on both examples of in-place operator application.
Expected behavior
I expected the docs to run as described on the page.
Minimal Reproducible Example 👇
using SciMLOperators
u,v,p,t = rand(4),rand(4), nothing, 0.0
F = FunctionOperator((u,p,t) -> 0.0,u,u)
F = cache_operator(F,u)
F(v,u,p,t)
This is a simplified MWE for the error of the three mentioned I'm most interested in; the docs page itself should be a fine MWE for the other two, but let me know if you particularly want something self-contained.
Error & Stacktrace
┌ Error: LinearAlgebra.mul! not defined for out-of-place operator FunctionOperator(4 × 4)
└ @ SciMLOperators ~/.julia/packages/SciMLOperators/778OM/src/func.jl:719
Environment (please complete the following information):
- Output of
using Pkg; Pkg.status()
Status `~/.julia/dev/CombinatorialSpaces/scimlbug/Project.toml`
[c0aeaf25] SciMLOperators v0.3.10
- Output of
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
Status `~/.julia/dev/CombinatorialSpaces/scimlbug/Manifest.toml`
[7d9f7c33] Accessors v0.1.38
[79e6a3ab] Adapt v4.0.4
[4fba245c] ArrayInterface v7.16.0
[a33af91c] CompositionsBase v0.1.2
[187b0558] ConstructionBase v1.5.8
[ffbed154] DocStringExtensions v0.9.3
[3587e190] InverseFunctions v0.1.17
[1914dd2f] MacroTools v0.5.13
[ae029012] Requires v1.3.0
[c0aeaf25] SciMLOperators v0.3.10
[56f22d72] Artifacts v1.11.0
[2a0f44e3] Base64 v1.11.0
[76f85450] LibGit2 v1.11.0
[8f399da3] Libdl v1.11.0
[37e2e46d] LinearAlgebra v1.11.0
[d6f4376e] Markdown v1.11.0
[ca575930] NetworkOptions v1.2.0
[de0858da] Printf v1.11.0
[9a3f8284] Random v1.11.0
[ea8e919c] SHA v0.7.0
[cf7118a7] UUIDs v1.11.0
[4ec0a83e] Unicode v1.11.0
[e66e0078] CompilerSupportLibraries_jll v1.1.1+0
[e37daf67] LibGit2_jll v1.7.2+0
[29816b5a] LibSSH2_jll v1.11.0+1
[c8ffd9c3] MbedTLS_jll v2.28.6+0
[4536629a] OpenBLAS_jll v0.3.27+1
[8e850b90] libblastrampoline_jll v5.11.0+0
- Output of
versioninfo()
Julia Version 1.11.0
Commit 501a4f25c2b (2024-10-07 11:40 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: macOS (arm64-apple-darwin22.4.0)
CPU: 8 × Apple M1 Pro
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, apple-m1)
Threads: 1 default, 0 interactive, 1 GC (on 6 virtual cores)
Additional context
Add any other context about the problem here.