Merge pull request #1063 from paulromano/find-cell-bugfix

Make sure find_cell returns false when no cell is found
This commit is contained in:
Sterling Harper 2018-09-02 12:39:14 -04:00 committed by GitHub
commit bab5162f0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -243,6 +243,8 @@ find_cell(Particle* p, int search_surf) {
return find_cell(p, 0);
}
}
return found;
}
//==============================================================================