From: Mikko Rasa Date: Thu, 1 Sep 2016 13:33:30 +0000 (+0300) Subject: Avoid a warning about shadowing a member X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=7d43d93ac2d701bb3de87cdf81e44c03e64c35c3;p=libs%2Fmath.git Avoid a warning about shadowing a member --- diff --git a/source/linal/matrix.h b/source/linal/matrix.h index a57ce08..1c831be 100644 --- a/source/linal/matrix.h +++ b/source/linal/matrix.h @@ -95,12 +95,12 @@ inline Matrix Matrix::from_rows(const Vector *v) template template -inline Matrix Matrix::select(const Vector &rows, const Vector &cols) const +inline Matrix Matrix::select(const Vector &row_indices, const Vector &col_indices) const { Matrix r; for(unsigned j=0; j