From 77e6f9c0d0b305e4426022347d0f6214890491cd Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Tue, 10 May 2016 22:21:28 -0400 Subject: [PATCH] Deprecate Array2D::axpy --- include/cantera/base/Array.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/cantera/base/Array.h b/include/cantera/base/Array.h index 2b4bc2ebb..ab86212b0 100644 --- a/include/cantera/base/Array.h +++ b/include/cantera/base/Array.h @@ -207,8 +207,11 @@ public: * @param a scalar to multiply x with * @param x First Array2D object to be used * @param y Second Array2D object to be used + * @deprecated Unused. To be removed after Cantera 2.3. */ void axpy(doublereal a, const Array2D& x, const Array2D& y) { + warn_deprecated("Array2D::axpy", + "Unused. To be removed after Cantera 2.3."); auto b = begin(); auto xb = x.begin(); auto yb = y.begin();