Package evaluation of Tensorial on Julia 1.12.0-DEV.2044 (c78016e4dc*) started at 2025-02-25T22:35:11.503 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 8.5s ################################################################################ # Installation # Installing Tensorial... Resolving package versions... Installed NaNMath ────────────── v1.1.2 Installed IrrationalConstants ── v0.2.4 Installed OpenSpecFun_jll ────── v0.5.6+0 Installed CommonSubexpressions ─ v0.3.1 Installed DiffRules ──────────── v1.15.1 Installed MacroTools ─────────── v0.5.15 Installed LogExpFunctions ────── v0.3.29 Installed SpecialFunctions ───── v2.5.0 Installed JLLWrappers ────────── v1.7.0 Installed TensorCore ─────────── v0.1.1 Installed StaticArraysCore ───── v1.4.3 Installed Tensorial ──────────── v0.18.4 Installed Preferences ────────── v1.4.3 Installed ForwardDiff ────────── v0.10.38 Installed PrecompileTools ────── v1.2.1 Installed StaticArrays ───────── v1.9.12 Installed DiffResults ────────── v1.1.0 Installed DocStringExtensions ── v0.9.3 Installing 1 artifacts Installed artifact OpenSpecFun 194.9 KiB Updating `~/.julia/environments/v1.12/Project.toml` [98f94333] + Tensorial v0.18.4 Updating `~/.julia/environments/v1.12/Manifest.toml` [bbf7d656] + CommonSubexpressions v0.3.1 [163ba53b] + DiffResults v1.1.0 [b552c78f] + DiffRules v1.15.1 [ffbed154] + DocStringExtensions v0.9.3 [f6369f11] + ForwardDiff v0.10.38 [92d709cd] + IrrationalConstants v0.2.4 [692b3bcd] + JLLWrappers v1.7.0 [2ab3a3ac] + LogExpFunctions v0.3.29 [1914dd2f] + MacroTools v0.5.15 [77ba4419] + NaNMath v1.1.2 [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [276daf66] + SpecialFunctions v2.5.0 [90137ffa] + StaticArrays v1.9.12 [1e83bf80] + StaticArraysCore v1.4.3 [62fd8b95] + TensorCore v0.1.1 [98f94333] + Tensorial v0.18.4 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [56f22d72] + Artifacts v1.11.0 [ade2ca70] + Dates v1.11.0 [76f85450] + LibGit2 v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.12.0 [ca575930] + NetworkOptions v1.3.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [fa267f1f] + TOML v1.0.3 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.3.0+1 [e37daf67] + LibGit2_jll v1.9.0+0 [29816b5a] + LibSSH2_jll v1.11.3+1 [4536629a] + OpenBLAS_jll v0.3.29+0 [05823500] + OpenLibm_jll v0.8.5+0 [458c3c95] + OpenSSL_jll v3.0.16+0 [8e850b90] + libblastrampoline_jll v5.12.0+0 Installation completed after 4.81s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling packages... 6590.7 ms ✓ TestEnv 1 dependency successfully precompiled in 9 seconds. 25 already precompiled. Precompiling package dependencies... Precompilation completed after 110.04s ################################################################################ # Testing # Testing Tensorial Status `/tmp/jl_EDfWON/Project.toml` [861a8166] Combinatorics v1.0.2 [90137ffa] StaticArrays v1.9.12 [6aa20fa7] TensorOperations v5.1.3 [98f94333] Tensorial v0.18.4 [37e2e46d] LinearAlgebra v1.12.0 [9a3f8284] Random v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_EDfWON/Manifest.toml` [861a8166] Combinatorics v1.0.2 [bbf7d656] CommonSubexpressions v0.3.1 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [ffbed154] DocStringExtensions v0.9.3 [f6369f11] ForwardDiff v0.10.38 [92d709cd] IrrationalConstants v0.2.4 [692b3bcd] JLLWrappers v1.7.0 [8ac3fa9e] LRUCache v1.6.1 [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.15 [77ba4419] NaNMath v1.1.2 [65ce6f38] PackageExtensionCompat v1.0.2 [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [43287f4e] PtrArrays v1.3.0 [276daf66] SpecialFunctions v2.5.0 [90137ffa] StaticArrays v1.9.12 [1e83bf80] StaticArraysCore v1.4.3 [5e0ebb24] Strided v2.2.0 [4db3bf67] StridedViews v0.3.2 [62fd8b95] TensorCore v0.1.1 [6aa20fa7] TensorOperations v5.1.3 [98f94333] Tensorial v0.18.4 [9d95972d] TupleTools v1.6.0 [409d34a3] VectorInterface v0.5.0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.12.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [ca575930] NetworkOptions v1.3.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [f489334b] StyledStrings v1.11.0 [fa267f1f] TOML v1.0.3 [8dfed614] Test v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.3.0+1 [e37daf67] LibGit2_jll v1.9.0+0 [29816b5a] LibSSH2_jll v1.11.3+1 [4536629a] OpenBLAS_jll v0.3.29+0 [05823500] OpenLibm_jll v0.8.5+0 [458c3c95] OpenSSL_jll v3.0.16+0 [8e850b90] libblastrampoline_jll v5.12.0+0 Testing Running tests... Test Summary: | Pass Total Time Symmetry | 17 17 2.7s Test Summary: | Pass Total Time Space | 14 14 0.8s Test Summary: | Pass Total Time AbstractTensor | 18 18 1.5s Test Summary: | Pass Total Time Constructors | 546 546 2m00.6s Test Summary: | Pass Total Time Symmetric tensors | 81 81 4.3s Test Summary: | Pass Total Time Indices | 56 56 3.3s Test Summary: | Pass Total Time Conversion | 40 40 2.5s Test Summary: | Pass Total Time Promotion | 4 4 0.5s Test Summary: | Pass Total Time Tensor misc | 6 6 0.1s Test Summary: | Pass Total Time Permutation | 92 92 55.0s Test Summary: | Pass Total Time Einstein summation | 58 58 1m39.7s Test Summary: | Pass Total Time Basic operations | 64 64 32.1s Test Summary: | Pass Total Time Tensor operations | 365 365 3m09.5s Test Summary: | Pass Total Time Call methods in StaticArrays | 26 26 7.8s Test Summary: | Pass Total Time UniformScaling | 68 68 2.7s Test Summary: | Pass Total Time Continuum mechanics | 84 84 6.4s Test Summary: | Pass Total Time Inverse | 172 172 1m38.2s Test Summary: | Pass Total Time Solving linear system | 60 60 20.9s Test Summary: | Pass Total Time Voigt form | 102 102 16.2s Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 =# @inferred(gradient(I₁, x))::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:47 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 =# @inferred(gradient(I₂, x))::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:48 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 =# @inferred(gradient(I₃, x))::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:49 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 =# @inferred(gradient(I₁, x, :all)))[1]::RetType{dim, T} ≈ one(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:50 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 =# @inferred(gradient(I₂, x, :all)))[1]::RetType{dim, T} ≈ I₁(x) * one(x) - x' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:51 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 Test threw exception Expression: (#= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 =# @inferred(gradient(I₃, x, :all)))[1]::RetType{dim, T} ≈ det(x) * (inv(x))' UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:52 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 =# 1 end), x))::RetType{dim, Int} == zero(x) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:56 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Tensor -> Real: Error During Test at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 Test threw exception Expression: #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# @inferred(gradient((x->begin #= /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 =# 1 end), x, :all))::Tuple{RetType{dim, Int}, Int} == (zero(x), 1) UndefVarError: `RetType` not defined in local scope Stacktrace: [1] top-level scope @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:12 [2] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [3] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:35 [inlined] [4] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined] [5] macro expansion @ ~/.julia/packages/Tensorial/L8AdI/test/ad.jl:57 [inlined] [6] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined] Test Summary: | Pass Error Total Time Automatic differentiation | 176 192 368 3m53.9s Real -> Real | 12 12 0.8s Real -> Tensor | 16 16 4.3s Tensor -> Real | 72 192 264 3m21.5s Tensor -> Tensor | 48 48 14.0s Check nested differentiation | 6 6 1.6s n-th derivatives | 10 10 7.0s Multiple arguments | 12 12 4.6s RNG of the outermost testset: Xoshiro(0x00adac03695b64db, 0x4993c0d1b0e71a8a, 0xac2c33b644a85470, 0xfb28aa7e94ecc7ed, 0x18629a7de5d3d224) ERROR: LoadError: Some tests did not pass: 176 passed, 0 failed, 192 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/ad.jl:11 in expression starting at /home/pkgeval/.julia/packages/Tensorial/L8AdI/test/runtests.jl:20 Testing failed after 1008.55s ERROR: LoadError: Package Tensorial errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:2365 [3] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:2220 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:486 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:164 [6] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:152 [7] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:152 [inlined] [8] #test#81 @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:151 [inlined] [9] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 [10] include(mod::Module, _path::String) @ Base ./Base.jl:307 [11] exec_options(opts::Base.JLOptions) @ Base ./client.jl:328 [12] _start() @ Base ./client.jl:560 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 1151.22s: package tests unexpectedly errored