ignore identity in double-goldberg recipes
This commit is contained in:
parent
cc41c90cca
commit
bede4516d9
File diff suppressed because one or more lines are too long
@ -750,12 +750,13 @@ antitruncation = TotalHexagonRow(
|
||||
symmetry_group="Tetrahedral",
|
||||
class_name="Tetrahedral Goldberg Antitruncations",
|
||||
f6_expression=(2*t_param - 14),
|
||||
t_filter=lambda x: x > 7,
|
||||
t_filter=lambda t: t > 7,
|
||||
)
|
||||
centered_edge = TotalHexagonRow(
|
||||
symmetry_group="Tetrahedral",
|
||||
class_name="Class I Edge-preserving",
|
||||
f6_expression=(4*((n_param + 1)**2 - 3)),
|
||||
t_filter=lambda t: t > 1,
|
||||
)
|
||||
|
||||
def apply_gc(row: TotalHexagonRow, class_name: str) -> TotalHexagonRow:
|
||||
@ -841,7 +842,7 @@ def get_example_counts(expr: sympy.Expr, amount: int, t_filter: TFilter = None):
|
||||
for t1 in t_params
|
||||
for t2 in t_params
|
||||
for n in range(1, 2*amount)
|
||||
if t_filter is None or t_filter(t2) and t1 > 1
|
||||
if t_filter is None or t_filter(t2) and t1 > 2
|
||||
]))
|
||||
if count > 0
|
||||
][:amount]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user