Commit 85960c67 by Alexander Stukowski

Fixed small regression in Python binding of Bin and Reduce modifier

parent ca5ded82
Pipeline #21649159 failed with stage
in 11 minutes 38 seconds
......@@ -279,7 +279,7 @@ void defineModifiersSubmodule(py::module m)
if(mod.is1D() && modApp->binData()->size() == mod.numberOfBinsX()) {
shape.push_back(mod.numberOfBinsX());
}
else if(!mod.is1D() && modApp->binData()->size() == (size_t)mod.numberOfBinsY() * (size_t)mod.numberOfBinsY()) {
else if(!mod.is1D() && modApp->binData()->size() == (size_t)mod.numberOfBinsX() * (size_t)mod.numberOfBinsY()) {
shape.push_back(mod.numberOfBinsY());
shape.push_back(mod.numberOfBinsX());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment