Skip to content

Commit

Permalink
Merge branch 'master' of github.com:cyclops-community/ctf
Browse files Browse the repository at this point in the history
  • Loading branch information
Edgar Solomonik committed Aug 9, 2019
2 parents 6424a9e + c779d5b commit d4aeb2b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/interface/tensor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -385,10 +385,8 @@ namespace CTF {
bool nonzeros_only,
bool unpack_sym) const {
char * cpairs;
int ret;
ret = CTF_int::tensor::allread(npair,&cpairs,unpack_sym,nonzeros_only);
cpairs = CTF_int::tensor::read_all_pairs(npair,unpack_sym,nonzeros_only);
*pairs = (Pair<dtype>*)cpairs; //Pair<dtype>::cast_char_arr(cpairs, *npair, sr);
if (ret != CTF_int::SUCCESS){ printf("CTF ERROR: failed to execute function read_local\n"); IASSERT(0); return; }
}

template<typename dtype>
Expand Down

0 comments on commit d4aeb2b

Please sign in to comment.