]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use explicit conversion
authorDaniel Arndt <arndtd@ornl.gov>
Fri, 17 Sep 2021 14:47:28 +0000 (10:47 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Fri, 17 Sep 2021 14:47:28 +0000 (10:47 -0400)
source/numerics/matrix_tools.cc

index 47c719f160e5c8b767445036a1ff1210dc427522..91ab205d5ddea15ec8447d4eefd86c598eb33462 100644 (file)
@@ -485,7 +485,7 @@ namespace MatrixTools
 
                     // correct right hand side
                     right_hand_side.block(block_row)(row) -=
-                      p->value() / diagonal_entry * new_rhs;
+                      number(p->value()) / diagonal_entry * new_rhs;
 
                     // set matrix entry to zero
                     p->value() = 0.;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.