Introduce AngleInteractionType
[alexxy/gromacs.git] / api / nblib / tests / molecules.cpp
index d4fb155d0e09de59e494f8ea1f1e832087d44c5e..e7cde25810616a6aff64359a1eef6e74aa51c8d5 100644 (file)
@@ -195,7 +195,7 @@ TEST(NBlibTest, CanAddInteractions)
 
     HarmonicBondType hb(1, 2);
     CubicBondType    cub(1, 2, 3);
-    HarmonicAngle    ang(Degrees(1), 1);
+    HarmonicAngle    ang(1, Degrees(1));
 
     molecule.addInteraction(ParticleName("O"), ParticleName("H1"), hb);
     molecule.addInteraction(ParticleName("O"), ParticleName("H2"), hb);