Skip to content

Commit

Permalink
mp3 working with macrotasks and frozen core
Browse files Browse the repository at this point in the history
  • Loading branch information
fbischoff committed Apr 2, 2024
1 parent e33c946 commit b7a0824
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/madness/chem/mp3.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,10 @@ class MP3 : public CCPotentials {
} else {
MADNESS_CHECK(partitioner->dimension==2);
MADNESS_CHECK(j_vec.size()==ij_vec.size());
i=batch.input[0].begin;
j=batch.input[1].begin;
i=batch.input[0].begin+parameters.freeze();
j=batch.input[1].begin+parameters.freeze();
}
print("i,j,parameters.freeze()=",i,j,parameters.freeze());

// convert vector of vectors back to Pairs
PairVectorMap square_map=PairVectorMap::quadratic_map(parameters.freeze(),mo_ket.size());
Expand Down

0 comments on commit b7a0824

Please sign in to comment.