You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the issue is with SparseArrays.jl. If I replace using FiniteDifferences above with using SparseArrays, then there is a similar error. What's going on? I'm not explicitly using any SparseArray types, but it seems to be running into issues trying to compile them.
The text was updated successfully, but these errors were encountered:
Yeah this is an unfortunate issue/bug introduced in Julia 1.10 into SparseArrays here (JuliaSparse/SparseArrays.jl@c402d09) which will occur during a type unstable array constructor (or hvcat more specifically).
I'd recommend you allocate you array with undef then set the value as a workaround, or use a Julia before the bug was introduced in 1.10.
We should look more closely at this, but closing as duplicate issue of #1134
I've run into an issue where the following code will produce an error, depending on which packages I have loaded.
With this set of package declarations, e.g., the result is as expected.
Input A:
Output A:
With this set of package declarations, an error is encountered.
Input B:
Output B:
It looks like the issue is with SparseArrays.jl. If I replace
using FiniteDifferences
above withusing SparseArrays
, then there is a similar error. What's going on? I'm not explicitly using any SparseArray types, but it seems to be running into issues trying to compile them.The text was updated successfully, but these errors were encountered: