Skip to content
Snippets Groups Projects
Commit 582be41a authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Merge branch 'minor-1d-fix' into 'master'

Fix one aspect of 1D support

See merge request !22
parents 946fa2bd a9e32579
No related branches found
No related tags found
No related merge requests found
......@@ -508,6 +508,9 @@ def parametrization_derivative(ambient_dim, dim=None, dd=None):
if dim is None:
dim = ambient_dim
if dim == 0:
return MultiVector(np.array([1.]))
from pytools import product
return product(
forward_metric_derivative_mv(ambient_dim, rst_axis, dd)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment