From ba7a3cda16955b75d4ae1bd0418ca1ffb3d5a8cb Mon Sep 17 00:00:00 2001 From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de> Date: Wed, 5 Oct 2016 16:55:32 +0200 Subject: [PATCH] [bugfix] use integer division for quadrature order --- python/dune/perftool/sumfact/amatrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/dune/perftool/sumfact/amatrix.py b/python/dune/perftool/sumfact/amatrix.py index b30b5b6e..f1b8a620 100644 --- a/python/dune/perftool/sumfact/amatrix.py +++ b/python/dune/perftool/sumfact/amatrix.py @@ -32,7 +32,7 @@ def quadrature_points_per_direction(): q = 2 # Quadrature points in per direction - nb_qp = q / 2 + 1 + nb_qp = q // 2 + 1 return nb_qp -- GitLab