summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2021-01-07 10:37:01 +0100
committerJaron Kent-Dobias <jaron@kent-dobias.com>2021-01-07 10:37:01 +0100
commit71e7c3a86a8ea99045f564a52535ed08c4172451 (patch)
tree3466eb9cdc386a29c36f6a8757a3aa038712ed88
parent38aa22e7bf31810ae5e033cc93a2dddf62e3169c (diff)
downloadcode-71e7c3a86a8ea99045f564a52535ed08c4172451.tar.gz
code-71e7c3a86a8ea99045f564a52535ed08c4172451.tar.bz2
code-71e7c3a86a8ea99045f564a52535ed08c4172451.zip
Reformatted a funny line.
-rw-r--r--tensor.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tensor.hpp b/tensor.hpp
index 9d5632e..41be3fd 100644
--- a/tensor.hpp
+++ b/tensor.hpp
@@ -52,8 +52,7 @@ Eigen::Tensor<Scalar, p> generateCouplings(unsigned N, Distribution d, Generator
template <class Scalar>
Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic>
contractDown(const Eigen::Tensor<Scalar, 2>& J, const Eigen::Matrix<Scalar, Eigen::Dynamic, 1>& z) {
- return Eigen::Map<const Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic>>(J.data(), z.size(),
- z.size());
+ return Eigen::Map<const Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic>>(J.data(), z.size(), z.size());
}
template <class Scalar, int r>