Skip to content

Commit

Permalink
Merge pull request #65 from PALEOtoolkit/julia_1.6_fixes
Browse files Browse the repository at this point in the history
spzeros fix for Julia 1.6
  • Loading branch information
sjdaines authored Aug 20, 2023
2 parents 8e51673 + 17c0357 commit 09311dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SplitDAE.jl
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ function create_split_dae(
jacouter_prototype = jacfull_prototype[ijrange_outer, ijrange_outer]

# include contributions from inner state Variables
jacouter_implicit = SparseArrays.spzeros(size(jacouter_prototype))
jacouter_implicit = SparseArrays.spzeros(size(jacouter_prototype)...) # Julia 1.6 requires ... here
dG_dcellinner_lu = nothing
jacinner_prototype = nothing

Expand Down

0 comments on commit 09311dc

Please sign in to comment.