Skip to content

Commit

Permalink
Fix implicit use of deprecated force_dim_axis=False
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Jun 7, 2024
1 parent b065d81 commit 7e3dc0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modepy/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def legendre_gauss_tensor_product_nodes(dims: int, n: int) -> np.ndarray:
.. versionadded:: 2024.2
"""
from modepy.quadrature.jacobi_gauss import LegendreGaussQuadrature
gl_quad = LegendreGaussQuadrature(n)
gl_quad = LegendreGaussQuadrature(n, force_dim_axis=True)
gl_nodes = gl_quad.nodes.reshape(1, -1)

return tensor_product_nodes(dims, gl_nodes)
Expand Down

0 comments on commit 7e3dc0b

Please sign in to comment.