Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrubeck committed Oct 28, 2024
1 parent 0460148 commit 08982bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ufl/sobolevspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def __lt__(self, other):

if other in [HDiv, HCurl]:
return all(self._orders[i] >= 1 for i in self._spatial_indices)
elif other.name in ["HDivDiv", "HCurlDiv", "HEin"]:
elif other in [HEin, HCurlDiv, HDivDiv]:
# Don't know how these spaces compare
return NotImplementedError(f"Don't know how to compare with {other.name}")
else:
Expand Down

0 comments on commit 08982bb

Please sign in to comment.