Skip to content

Commit

Permalink
Merge pull request #52 from jfrasunk/main
Browse files Browse the repository at this point in the history
fix typo in `voxel_gravity.jl`
  • Loading branch information
boriskaus authored Feb 25, 2024
2 parents b9942d6 + 6e5dd78 commit f8aca2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/voxel_gravity.jl
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ function checkInput(X, Y, Z, RHO, refMod, lengthUnit, rhoTol, Topo, outName, pri
RefMod = RHO[1,1,:]
elseif refMod == "NW"
RefMod = RHO[1,end,:]
elseif refMode == "AVG"
elseif refMod == "AVG"
RefMod = !mean([1.,1.,1.],RHO)
else
error("RefMod should be NE, SE, SW, NW, AVG or a vector with one value for each depth.")
Expand Down

0 comments on commit f8aca2b

Please sign in to comment.