Skip to content
Snippets Groups Projects
Commit 280be47e authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

ENH: use const references when possible (bis)

parent 06fb09ee
No related branches found
No related tags found
No related merge requests found
...@@ -861,7 +861,7 @@ void BandMathXImageFilter< TImage > ...@@ -861,7 +861,7 @@ void BandMathXImageFilter< TImage >
case 'm': case 'm':
{ {
mup::matrix_type vect = value.GetArray(); const mup::matrix_type &vect = value.GetArray();
if ( vect.GetRows() == 1 ) //Vector if ( vect.GetRows() == 1 ) //Vector
m_outputsDimensions.push_back(vect.GetCols()); m_outputsDimensions.push_back(vect.GetCols());
else //Matrix else //Matrix
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment