mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
Temporarily remove the OVERFLOW requirement in jozov2_io
This commit is contained in:
parent
96b0ba3154
commit
1a518dd8e5
1 changed files with 5 additions and 5 deletions
|
@ -60,21 +60,21 @@ void readAdjacencyFile(const string& adjfile, PARTICLE*& p, pid_t& np)
|
||||||
cout << format("OVERFLOW for particle %d (pending %d). List of accepted:") % i % j << endl;
|
cout << format("OVERFLOW for particle %d (pending %d). List of accepted:") % i % j << endl;
|
||||||
for (int q = 0; q < p[i].nadj; q++)
|
for (int q = 0; q < p[i].nadj; q++)
|
||||||
cout << format(" %d") % p[i].adj[q] << endl;
|
cout << format(" %d") % p[i].adj[q] << endl;
|
||||||
throw FileError();
|
// throw FileError();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
if (p[j].ncnt == p[j].nadj)
|
if (p[j].ncnt == p[j].nadj)
|
||||||
{
|
{
|
||||||
cout << format("OVERFLOW for particle %d (pending %d). List of accepted:") % j % i << endl;
|
cout << format("OVERFLOW for particle %d (pending %d). List of accepted:") % j % i << endl;
|
||||||
for (int q = 0; q < p[j].nadj; q++)
|
for (int q = 0; q < p[j].nadj; q++)
|
||||||
cout << format(" %d\n") % p[j].adj[q] << endl;
|
cout << format(" %d\n") % p[j].adj[q] << endl;
|
||||||
throw FileError();
|
// throw FileError();
|
||||||
}
|
}
|
||||||
|
else{
|
||||||
p[i].adj[p[i].ncnt] = j;
|
p[i].adj[p[i].ncnt] = j;
|
||||||
p[j].adj[p[j].ncnt] = i;
|
p[j].adj[p[j].ncnt] = i;
|
||||||
p[i].ncnt++;
|
p[i].ncnt++;
|
||||||
p[j].ncnt++;
|
p[j].ncnt++; }
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue