Skip to content

Commit

Permalink
fix matrix syntax for julia-1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rymanderson committed Oct 11, 2024
1 parent cc21258 commit 5dba0cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/translate_local_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ end

x = SVector{3}(0.1,0.2,-0.3)
xs = x + SVector{3}(-0.2,0.07,-0.1)
bodies = [xs[1]; xs[2]; xs[3]; 0.0; 0.7;;]
bodies = zeros(5,1)
bodies .= [xs[1], xs[2], xs[3], 0.0, 0.7]
masses = Gravitational(bodies)
expansion_order = 10
source_branch = Branch(1:1, 0, 1:0, 0, 1, SVector{3}([2.5, -4.3999999999999995, 0.8]), 0.0, expansion_order)
Expand Down

0 comments on commit 5dba0cf

Please sign in to comment.