Commit 5de8cfd3 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Bugfix

parent 3222f37e
......@@ -314,7 +314,8 @@ namespace AMDiS {
for (int i = 0; i < nRankRows; i++) {
dnnz[i] = std::min(dnnz[i], nRankCols);
onnz[i] = std::min(onnz[i], nOverallCols - nRankCols);
if (onnz)
onnz[i] = std::min(onnz[i], nOverallCols - nRankCols);
}
#if (DEBUG != 0)
......
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