From 9a0654f790387ce276bf5838deaab3d4852bff3e Mon Sep 17 00:00:00 2001 From: Gabriel Studer <gabriel.studer@unibas.ch> Date: Wed, 3 Feb 2021 18:55:12 +0100 Subject: [PATCH] No need for special treatment. Gets handled fine at a later stage. --- modules/mol/alg/src/accessibility.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/mol/alg/src/accessibility.cc b/modules/mol/alg/src/accessibility.cc index e84815b96..309877253 100644 --- a/modules/mol/alg/src/accessibility.cc +++ b/modules/mol/alg/src/accessibility.cc @@ -221,11 +221,6 @@ Real GetAtomAccessibilityNACCESS(Real x_pos, Real y_pos, Real z_pos, Real a = x_pos - x[i]; Real b = y_pos - y[i]; Real c = a*a + b*b; - - if(c == Real(0.0)) { - return 0.0; - } - dx[i] = a; dy[i] = b; dsqr[i] = c; -- GitLab