Skip to content

Commit

Permalink
processing: assert that the facial group does not have a map
Browse files Browse the repository at this point in the history
Co-authored-by: Andreas Klöckner <[email protected]>
  • Loading branch information
alexfikl and inducer committed Aug 12, 2023
1 parent 366eefb commit 2a07484
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meshmode/mesh/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1434,6 +1434,7 @@ def compute_new_map(old_map: AffineMap) -> AffineMap:
new_fagrp: FacialAdjacencyGroup = replace(
old_fagrp, aff_map=compute_new_map(old_fagrp.aff_map))
else:
assert not hasattr(old_fagrp, "aff_map")
new_fagrp = old_fagrp

fagrp_list.append(new_fagrp)
Expand Down

0 comments on commit 2a07484

Please sign in to comment.