Skip to content

Commit bfceffe

Browse files
committed
oops
1 parent 029c61e commit bfceffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ci/fci/fci_rdm.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ FCI::compute_rdm12_last_step(shared_ptr<const Dvec> dbra, shared_ptr<const Dvec>
138138
auto rdm1t = btas::group(*rdm1,0,2);
139139
btas::contract(1.0, dketv, {0,1}, *cibra_data, {0}, 0.0, rdm1t, {1});
140140

141-
auto dbrav = dbra == dket ? dketv : btas::group(*dbra,0,2);
141+
auto dbrav = btas::group(*dbra,0,2);
142142
auto rdm2t = group(group(*rdm2, 2,4), 0,2);
143143
btas::contract(1.0, dbrav, {1,0}, dketv, {1,2}, 0.0, rdm2t, {0,2});
144144
}

0 commit comments

Comments
 (0)