Skip to content

Commit 5a3bf72

Browse files
redeboerRemco de Boer
andauthored
FIX: permutate topology edges, not property mappings (#218)
* FIX: permutate topologies instead of outer edges * MAINT: import entire `itertools` module * MAINT: improve order of function definitions * MAINT: improve spin-0 removal syntax * MAINT: simplify `_KinematicRepresentation` class * MAINT: switch to absolute imports * MAINT: test whether final state order matters --------- Co-authored-by: Remco de Boer <redeboer@AcerAspire>
1 parent 7a53c20 commit 5a3bf72

File tree

7 files changed

+372
-339
lines changed

7 files changed

+372
-339
lines changed

src/qrules/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,7 @@ def check_edge_qn_conservation() -> Set[FrozenSet[str]]:
188188
node_id = next(iter(topology.nodes))
189189

190190
initial_facts = create_initial_facts(
191-
topology=topology,
192-
particle_db=particle_db,
193-
initial_state=initial_state,
194-
final_state=final_state,
191+
topology, initial_state, final_state, particle_db
195192
)
196193

197194
check_pure_edge_rules()

0 commit comments

Comments
 (0)