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

Merge branch 'feature/small-fix' into 'master'

[skip ci] Small fix regarding floating point type consistency

See merge request dominic/dune-perftool!212
parents 505d7124 5317a762
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ void onedQuadraturePointsWeights(RF (&qp)[m], RF (&qw)[m]){
} // end 1D quadrature loop
// Order 1D quadrature points lexicographically
for (size_t j=0; j<m/2; j++){
if (qp[j]>0.5){
if (qp[j]>DF(0.5)){
RF temp=qp[j];
qp[j] = qp[m-1-j];
qp[m-1-j] = temp;
......
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