use bandjoin_const from cpp

This commit is contained in:
John Cupitt 2017-04-29 10:17:38 +01:00
parent 39ea6ce492
commit 1504fb0249
1 changed files with 2 additions and 2 deletions

View File

@ -532,13 +532,13 @@ public:
VImage
bandjoin( double other, VOption *options = 0 )
{
return( bandjoin( this->new_from_image( other ), options ) );
return( bandjoin( to_vector( other ), options ) );
}
VImage
bandjoin( std::vector<double> other, VOption *options = 0 )
{
return( bandjoin( this->new_from_image( other ), options ) );
return( bandjoin_const( other, options ) );
}
std::complex<double> minpos( VOption *options = 0 );