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

Avoid get_option in innermost loop when determining quadrature points

This fixes a code generation performance bug in sum factorized code.
It also reveals that statistic profiling could be superhelpful to us.
parent bfb293ca
No related branches found
No related tags found
No related merge requests found
......@@ -273,6 +273,7 @@ def quadrature_points_per_direction():
# Quadrature points in per direction
nb_qp = tuple(order // 2 + 1 for order in q)
_quad = nb_qp
return nb_qp
......
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