Skip to content

Remove rounding errors in cell matrix from cell parameters

username-removed-935968 requested to merge gdonval/ase:master into master

Typically cos(90.*pi/180.) gives a value of 5e-16 instead of 0.0. This becomes a problem in MD NPT routines where the cell matrix must be upper triangular. Although the problem could be solved in the MD routine, cos(90 deg) == 0.

Merge request reports