PIVector2D resize

This commit is contained in:
2020-10-19 17:37:24 +03:00
parent 94fc54159b
commit d84adf2bc7
2 changed files with 6 additions and 7 deletions

View File

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