Skip to content

Commit

Permalink
fix: bug resulting from incorrect merge
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasrothenberger committed Jan 17, 2024
1 parent 5da58fa commit ef84d2d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions discopop_explorer/pattern_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,19 @@ def detect_patterns(

if "*" in enable_patterns or "reduction" in enable_patterns:
print("REDUCTIONS...")
res.reduction = detect_reduction(self.pet, hotspots)
res.patterns.reduction = detect_reduction(self.pet, hotspots)
print("\tDONE.")
if "*" in enable_patterns or "doall" in enable_patterns:
print("DOALL...")
res.do_all = detect_do_all(self.pet, hotspots)
res.patterns.do_all = detect_do_all(self.pet, hotspots)
print("\tDONE.")
if "*" in enable_patterns or "pipeline" in enable_patterns:
print("PIPELINE...")
res.pipeline = detect_pipeline(self.pet, hotspots)
res.patterns.pipeline = detect_pipeline(self.pet, hotspots)
print("\tDONE.")
if "*" in enable_patterns or "geodec" in enable_patterns:
print("GEO. DEC...")
res.geometric_decomposition = detect_gd(self.pet, hotspots)
res.patterns.geometric_decomposition = detect_gd(self.pet, hotspots)
print("\tDONE.")

# check if task pattern should be enabled
Expand Down

0 comments on commit ef84d2d

Please sign in to comment.