There was an error while loading. Please reload this page.
1 parent 76255e8 commit 8d057a1Copy full SHA for 8d057a1
1 file changed
c++/triqs_soehyb/strong_cpl.cpp
@@ -737,6 +737,6 @@ dcomplex trace_matmul(nda::array_const_view<dcomplex, 2> M1, nda::array_const_vi
737
int n = M1.shape(0);
738
auto M2_T = transpose(M2);
739
dcomplex res = 0;
740
- for (int i = 0; i < n; ++i) { res += dot(M1(i, _), M2_T(i, _)); }
+ for (int i = 0; i < n; ++i) { res += linalg::dot(M1(i, _), M2_T(i, _)); }
741
return res;
742
}
0 commit comments