PIVector2D resize
This commit is contained in:
@@ -218,7 +218,7 @@ public:
|
||||
int cs = (cols - cols_);
|
||||
if (cs < 0) {
|
||||
for (size_t r=0; r<rows; ++r) {
|
||||
mat.remove(r*cols_ + cols_, -cs);
|
||||
mat.remove(r*cols + cols, -cs);
|
||||
}
|
||||
}
|
||||
mat.resize(rows*cols, f);
|
||||
|
||||
Reference in New Issue
Block a user