Skip to content

Commit

Permalink
Fix parsing of r_xyz
Browse files Browse the repository at this point in the history
  • Loading branch information
TomGoffrey committed Sep 2, 2024
1 parent aafed39 commit d52bc44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epoch3d/src/parser/evaluator_blocks.F90
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ SUBROUTINE do_constant(opcode, simplify, parameters, err)
IF (parameters%use_grid_position) THEN
CALL push_on_eval(&
SQRT(x(parameters%pack_ix)**2 + y(parameters%pack_iy)**2 &
+ z(parameters%pack_iy)**2))
+ z(parameters%pack_iz)**2))
ELSE
CALL push_on_eval(&
SQRT(parameters%pack_pos(1)**2 + parameters%pack_pos(2)**2 &
Expand Down

0 comments on commit d52bc44

Please sign in to comment.