Skip to content

Commit

Permalink
Fix some broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrubeck committed Nov 3, 2023
1 parent ea382db commit de881f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FIAT/expansions.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def _tabulate_jet(self, degree, pts, order=0):
from FIAT.polynomial_set import mis
result = {}
D = self.ref_el.get_spatial_dimension()
if order == 0:
if order == 0 or degree == 0 or D == 0:
base_vals = self.tabulate(degree, pts)
else:
v, dv = self._tabulate_derivatives(degree, numpy.transpose(pts))
Expand Down

0 comments on commit de881f5

Please sign in to comment.