We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ee979d commit 5ca9986Copy full SHA for 5ca9986
src/regfans/fan.py
@@ -530,7 +530,7 @@ def is_valid(self, verbosity: int = 0) -> bool:
530
531
return True
532
533
- def respects_ptconfig(self) -> bool:
+ def respects_ptconfig(self, via_circuits=False) -> bool:
534
"""
535
**Description:**
536
Return whether or not the fan also defines a (star) subdivision of the
@@ -548,7 +548,7 @@ def respects_ptconfig(self) -> bool:
548
raise NotImplementedError("Not implemented for irregular fans")
549
550
# just check if central subdivision is a refinement
551
- H = self.secondary_cone_hyperplanes()
+ H = self.secondary_cone_hyperplanes(via_circuits=via_circuits)
552
return all((H @ np.ones(self.vc.size)) >= 0)
553
554
def is_triangulation(self) -> bool:
0 commit comments