Skip to content

Commit

Permalink
Merge pull request #701 from Warwick-Plasma/tom/issue700
Browse files Browse the repository at this point in the history
Fix parsing of r_xyz
  • Loading branch information
TomGoffrey authored Sep 6, 2024
2 parents aafed39 + d52bc44 commit 0b4e1e1
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 0b4e1e1

Please sign in to comment.