From: Matthias Maier Date: Tue, 12 May 2015 11:29:40 +0000 (+0200) Subject: Testsuite: Bugfix: Add missing interface in linear_operator_01 X-Git-Tag: v8.3.0-rc1~176^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F927%2Fhead;p=dealii.git Testsuite: Bugfix: Add missing interface in linear_operator_01 --- diff --git a/tests/lac/linear_operator_01.cc b/tests/lac/linear_operator_01.cc index 5b7fe75ece..31eb357d3b 100644 --- a/tests/lac/linear_operator_01.cc +++ b/tests/lac/linear_operator_01.cc @@ -31,6 +31,11 @@ struct LeftVector typedef double value_type; double value; + LeftVector & operator = (double new_value) + { + value = new_value; + return *this; + } LeftVector & operator *= (double scale) { value *= scale; @@ -61,6 +66,11 @@ struct RightVector typedef double value_type; double value; + RightVector & operator = (double new_value) + { + value = new_value; + return *this; + } RightVector & operator *= (double scale) { value *= scale;