Skip to content

Commit

Permalink
Added call to set_abs_default() that should have been in Set::Set, as…
Browse files Browse the repository at this point in the history
… pointed out by Devin
  • Loading branch information
solomonik committed Dec 16, 2015
1 parent 627847f commit a262055
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/contraction/contraction.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -3413,7 +3413,7 @@ namespace CTF_int {
mapping * map;
spctr * hctr = NULL;
spctr ** rec_ctr = NULL;
ASSERT(A->wrld == B->wrld && B->wrld == C->wrld);
ASSERT(A->wrld->cdt.cm == B->wrld->cdt.cm && B->wrld->cdt.cm == C->wrld->cdt.cm);
World * wrld = A->wrld;
CommData global_comm = wrld->cdt;

Expand Down
2 changes: 1 addition & 1 deletion src/interface/set.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ namespace CTF {

Set() : CTF_int::algstrct(sizeof(dtype)){
tmdtype = CTF_int::get_default_mdtype<dtype>(is_custom_mdtype);
abs = NULL;
set_abs_to_default();
}

void set_abs_to_default(){
Expand Down
2 changes: 1 addition & 1 deletion src/summation/summation.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1969,7 +1969,7 @@ namespace CTF_int {
int btopo;
int gtopo;

ASSERT(A->wrld == B->wrld);
ASSERT(A->wrld->cdt.cm == B->wrld->cdt.cm);
World * wrld = A->wrld;

TAU_FSTART(map_tensor_pair);
Expand Down

0 comments on commit a262055

Please sign in to comment.