From: Bruno Turcksin Date: Wed, 13 May 2020 02:00:50 +0000 (+0000) Subject: Fix test after some sadd and equ functions have been removed X-Git-Tag: v9.2.0-rc2~18^2~4 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b337c634cfa76d69f6645c20f8f2c0580ff0afe5;p=dealii.git Fix test after some sadd and equ functions have been removed --- diff --git a/tests/cuda/parallel_vector_11.cu b/tests/cuda/parallel_vector_11.cu index 20997bf51f..a46a73426e 100644 --- a/tests/cuda/parallel_vector_11.cu +++ b/tests/cuda/parallel_vector_11.cu @@ -131,7 +131,8 @@ test() if (myid == 0) deallog << "Check sadd (factor, factor, vector, factor, vector): "; - y.sadd(2., 3., v, 2., w); + y.sadd(2., 3., v); + y.add(2., w); y_rw.import(y, VectorOperation::insert); for (int i = 0; i < actual_local_size; ++i) { @@ -144,7 +145,8 @@ test() if (myid == 0) deallog << "Check sadd (factor, factor, vector, factor, vector, factor, vector): "; - y.sadd(-1., 1., v, 2., w); + y.sadd(-1., 1., v); + y.add(2., w); y.add(2., x); y_rw.import(y, VectorOperation::insert); for (int i = 0; i < actual_local_size; ++i) @@ -202,7 +204,8 @@ test() if (myid == 0) deallog << "Check equ (factor, vector, factor, vector): "; - y.equ(10., v, -2., w); + y.equ(10., v); + y.add(-2., w); y_rw.import(y, VectorOperation::insert); for (int i = 0; i < actual_local_size; ++i) AssertThrow(y_rw.local_element(i) == 6. * (i + my_start) - 2000, @@ -212,7 +215,8 @@ test() if (myid == 0) deallog << "Check equ (factor, vector, factor, vector, factor, vector): "; - y.equ(10., v, -2., w); + y.equ(10., v); + y.add(-2., w); y.add(3., x); y_rw.import(y, VectorOperation::insert); for (int i = 0; i < actual_local_size; ++i)