All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 3353e69f authored by Robert Ricci's avatar Robert Ricci

Make 'infinity' a little more finite. Instead of 10 million nodes,

make it mean 10 thousand. We were running overflowing a 32-bit int
when we had 214 of these things - now we can go to 214 thousand.
parent 72c3dcb8
......@@ -92,7 +92,7 @@ int parse_ptop(tb_pgraph &PG, tb_sgraph &SG, istream& i)
int iload;
if (!load.compare("*")) { // Allow * to mean unlimited
// (okay, a really big number)
iload = 10000000;
iload = 10000;
} else if (sscanf(load.c_str(),"%d",&iload) != 1) {
ptop_error("Bad node line, bad load: " << load << ".");
iload = 1;
......
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