From 3a68f0c54e97f68e21f50e942472a18cbf5e636e Mon Sep 17 00:00:00 2001 From: Bimal Gaudel Date: Wed, 8 May 2024 14:37:39 -0400 Subject: [PATCH] bug fix. --- src/TiledArray/expressions/cont_engine.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/TiledArray/expressions/cont_engine.h b/src/TiledArray/expressions/cont_engine.h index d40e9c88fc..58d7b9ad57 100644 --- a/src/TiledArray/expressions/cont_engine.h +++ b/src/TiledArray/expressions/cont_engine.h @@ -513,6 +513,7 @@ class ContEngine : public BinaryEngine { const left_tile_element_type& left, const right_tile_element_type& right) { contrreduce_op(result, left, right); + result = contrreduce_op(result); // permutations of result are applied as "postprocessing" }; } // ToT x ToT } else if (inner_prod == TensorProduct::Hadamard) {