From 6d929d528287407450d543d8790a466108fcabb8 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 12 May 2015 13:29:40 +0200 Subject: [PATCH] Testsuite: Bugfix: Add missing interface in linear_operator_01 --- tests/lac/linear_operator_01.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) 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; -- 2.39.5