Skip to content

Commit

Permalink
precompute terms order fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
andreapasquale94 committed Jun 2, 2024
1 parent 97fdc03 commit 3cd6860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gravity/harmonics/type.jl
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function GravityHarmonics(C::AbstractMatrix{T}, S::AbstractMatrix{T}, deg::Int;

η0 = zeros(T, deg+2, deg+2)
η1 = zeros(T, deg+2, deg+2)
precompute_coefficients!(η0, η1, deg+2)
precompute_coefficients!(η0, η1, deg+1)

∂η0 = zeros(T, deg+1)
∂η1 = zeros(T, deg+1, deg+1)
Expand Down

0 comments on commit 3cd6860

Please sign in to comment.