Skip to content
Snippets Groups Projects
Commit 3ca61e2b authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Adjust explicit cost model function to differ for qp tuples

parent 1878563e
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ def explicit_costfunction(sf):
if sf.horizontal_width == horizontal and sf.vertical_width == vertical:
# Penalize position mapping
return position_penalty_factor(sf)
return sf.operations * position_penalty_factor(sf)
else:
return 1000000000000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment