Relax tolerance slightly
@@ -362,7 +362,8 @@ class Modal(BaseSolver):
# Scaling
eigenvectors, eigenvectors_left = self.scale_modes_unit_mass_matrix(eigenvectors, FullMglobal, eigenvectors_left)
- np.testing.assert_almost_equal(eigenvectors[:, 10].dot(eigenvectors[:, 11]), 0) # random eigenvector to test orthonality
+ np.testing.assert_almost_equal(eigenvectors[:, 10].dot(eigenvectors[:, 11]), 0, decimal=5,
+ err_msg='Eigenvectors not orthogonal') # random eigenvector to test orthonality
np.testing.assert_array_almost_equal(eigenvectors.T.dot(FullMglobal.dot(eigenvectors)), np.eye(eigenvectors.shape[1]),
decimal=5, err_msg='Unable to scale the modes such that they are'
