Skip to content
Snippets Groups Projects
Commit ac156a04 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

Revert "avoid atan2(0.0, 0.0) in Dihedral::SetAngleICS"

This reverts commit 9153648f.

The intention of this commit was to fix potential issues when operating on a
dihedral connecting 4 atoms where at least 3 atoms are exactly on a line.
Dihedrals are ill defined in this case but "expected behaviour"
(whatever that means) is tested as a unit test.
A fail was observed in two cases. First case that triggered commit
9153648f, second case that showed that the
problem is not solved. Therefore reverting to original state in order to find
different solution.
parent 78bb554d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment