Skip to content

Commit

Permalink
numpy.vstack syntax update
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Jan 9, 2025
1 parent 642f588 commit 5141a33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gemini3d/grid/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def rotvec_gg2gm(e):
exflat = e[..., 0].ravel(order="F")
eyflat = e[..., 1].ravel(order="F")
ezflat = e[..., 2].ravel(order="F")
emat = np.row_stack((exflat, eyflat, ezflat))
emat = np.vstack((exflat, eyflat, ezflat))

egg = Rgg2gm() @ emat

Expand Down

0 comments on commit 5141a33

Please sign in to comment.