Skip to content
Snippets Groups Projects
Commit 40688af3 authored by Davide Branduardi's avatar Davide Branduardi
Browse files
parents bc2146e6 fa9673ef
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,9 @@ void Pbc::setBox(const Tensor&b){
// UP TO NOW ONLY WORKS WITH ORTHOROMIBIC (should implement matrix inversion)
// detect type:
const double epsilon=1e-14;
if(box.determinant()<epsilon)return;
bool cxy=false;
bool cxz=false;
bool cyz=false;
......
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