Skip to content

Commit b329db0

Browse files
committed
Fix assignment to const issue
1 parent 785c71f commit b329db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c++/triqs_ctseg/measures/nn_tau.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ namespace triqs_ctseg::measures {
5959

6060
auto d = q_tau.data()(nda_all, a, b); // a view of the data for fixed a,b
6161
// add + s to the data. NB : id1 > id2
62-
auto fill = [s, d](long u_idx1, long u_idx2) {
62+
auto fill = [s, &d](long u_idx1, long u_idx2) {
6363
ALWAYS_EXPECTS((u_idx1 >= u_idx2), "error", 1);
6464
for (auto u = u_idx1; u >= u_idx2; --u) d(u) += s;
6565
};

0 commit comments

Comments
 (0)