Commit 29559a53 by Maarten L. Hekkelman

Fix is_cis

parent 8a60bae3
...@@ -954,7 +954,7 @@ float monomer::omega(const monomer &a, const monomer &b) ...@@ -954,7 +954,7 @@ float monomer::omega(const monomer &a, const monomer &b)
bool monomer::is_cis(const monomer &a, const monomer &b) bool monomer::is_cis(const monomer &a, const monomer &b)
{ {
return omega(a, b) < 30.0f; return std::abs(omega(a, b)) < 30.0f;
} }
// -------------------------------------------------------------------- // --------------------------------------------------------------------
......
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