Skip to content
Snippets Groups Projects
Commit 98fdd9fd authored by Benjamin Lindner2's avatar Benjamin Lindner2
Browse files

fixed manual partition size adjustment

parent 8f92a3ec
No related branches found
No related tags found
No related merge requests found
......@@ -119,7 +119,7 @@ DecompositionPlan::DecompositionPlan(size_t nn,size_t nq,size_t naf,size_t elbyt
Warn::Inst()->write("Partition size larger than NN. Setting NNPP=NN.");
Warn::Inst()->write(string("New partition size: ")+boost::lexical_cast<string>(nnpp));
}
if (Params::Inst()->limits.decomposition.partitions.size<=naf) {
if (Params::Inst()->limits.decomposition.partitions.size>naf) {
nnpp=naf;
Warn::Inst()->write("Partition size larger than NAF. Setting NNPP=NAF.");
Warn::Inst()->write(string("New partition size: ")+boost::lexical_cast<string>(nnpp));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment