fix typo in dihedral_quadratic.cpp

This commit is contained in:
Evangelos Voyiatzis
2025-04-07 20:52:55 +02:00
committed by GitHub
parent 4ce473a649
commit d012d13c19

View File

@ -443,7 +443,7 @@ void DihedralQuadratic::born_matrix(int nd, int i1, int i2, int i3, int i4,
void *DihedralQuadratic::extract(const char *str, int &dim)
{
dim = 1;
if (strcmp(str, "k") == 0) return (void *) k0;
if (strcmp(str, "k") == 0) return (void *) k;
if (strcmp(str, "phi0") == 0) return (void *) phi0;
return nullptr;
}