summaryrefslogtreecommitdiff
path: root/p-spin.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'p-spin.hpp')
-rw-r--r--p-spin.hpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/p-spin.hpp b/p-spin.hpp
index e5d4f94..13fbd98 100644
--- a/p-spin.hpp
+++ b/p-spin.hpp
@@ -45,8 +45,3 @@ std::tuple<double, Vector<Scalar>> WdW(const Tensor<Scalar, p>& J, const Vector<
return {W, dW};
}
-
-template <class Scalar>
-Vector<Scalar> normalize(const Vector<Scalar>& z) {
- return z * sqrt((double)z.size() / (Scalar)(z.transpose() * z));
-}