Deprecate Array2D::axpy

This commit is contained in:
Ray Speth 2016-05-10 22:21:28 -04:00
parent fc33778451
commit 77e6f9c0d0

View file

@ -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();