From 5e14787a8790363a6aeaa437b9005dea0df0c4c0 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Fri, 17 Sep 2021 10:47:28 -0400 Subject: [PATCH] Use explicit conversion --- source/numerics/matrix_tools.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/numerics/matrix_tools.cc b/source/numerics/matrix_tools.cc index 47c719f160..91ab205d5d 100644 --- a/source/numerics/matrix_tools.cc +++ b/source/numerics/matrix_tools.cc @@ -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.; -- 2.39.5