Skip to content

Commit

Permalink
Update TPM.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
MasanoriKanamaru committed Apr 5, 2024
1 parent 51d4ce9 commit 524db45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TPM.jl
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ struct SingleTPMResult
times ::Vector{Float64}
E_in ::Vector{Float64}
E_out ::Vector{Float64}
E_cons ::Vector{Union{Float64, Missing}}
E_cons ::Vector{Float64}
force ::Vector{SVector{3, Float64}}
torque ::Vector{SVector{3, Float64}}

Expand Down Expand Up @@ -280,7 +280,7 @@ function SingleTPMResult(stpm::SingleTPM, ephem, times_to_save::Vector{Float64},

E_in = zeros(nsteps)
E_out = zeros(nsteps)
E_cons = Vector{Union{Float64, Missing}}(missing, nsteps)
E_cons = fill(NaN, nsteps)
force = zeros(SVector{3, Float64}, nsteps)
torque = zeros(SVector{3, Float64}, nsteps)

Expand Down

0 comments on commit 524db45

Please sign in to comment.