From 4efe7c6fd6172587224774e5ffcf2ff980b55f8b Mon Sep 17 00:00:00 2001 From: David Wells Date: Sat, 5 Nov 2016 15:33:30 -0400 Subject: [PATCH] Fix compilation with some matrix free tests. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This fixes a compilation error with GCC 4.8: error: no match for ‘operator=’ (operand types are ‘boost::shared_ptr > >’ and ‘long int’) scalar_coefficient = NULL; ^ --- include/deal.II/matrix_free/operators.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/matrix_free/operators.h b/include/deal.II/matrix_free/operators.h index ffd9b83e82..98990d4fa0 100644 --- a/include/deal.II/matrix_free/operators.h +++ b/include/deal.II/matrix_free/operators.h @@ -1008,7 +1008,7 @@ namespace MatrixFreeOperators clear () { Base::clear(); - scalar_coefficient = NULL; + scalar_coefficient.reset(); } -- 2.39.5