Skip to content

Commit

Permalink
More ideomatic (#23)
Browse files Browse the repository at this point in the history
* More ideomatic

* Update nbody-fast.jl
  • Loading branch information
PallHaraldsson authored and KristofferC committed Nov 23, 2018
1 parent 60951f5 commit 6b55550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbody/nbody-fast.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ using Printf
using LinearAlgebra

# Constants
const solar_mass = 4 * pi * pi
const solar_mass = 4π^2
const days_per_year = 365.24

# Use a 4-tuple here to get better SIMD instructions.
Expand Down

0 comments on commit 6b55550

Please sign in to comment.