Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
minor
octree_info include iostream
  • Loading branch information
Qinqing Liu committed Jan 12, 2021
1 parent bc5534a commit 087cec9
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 1 deletion.
Binary file modified .DS_Store
Binary file not shown.
3 changes: 2 additions & 1 deletion octree/octree/octree_info.cpp
Expand Up @@ -3,6 +3,7 @@
#include "types.h"

#include <cstring>
#include <iostream>

#ifdef KEY64
const char OctreeInfo::kMagicStr[16] = "_OCTREE_2.0_";
Expand Down Expand Up @@ -159,7 +160,7 @@ int64_t OctreeInfo::ptr_dis(PropType ptype, const int depth) const {
int i = property_index(ptype);
int64_t dis = ptr_dis_[i]; //int dis = ptr_dis_[i];
if (locations(ptype) == -1) {
dis += (int64_t) nnum_cum_[depth] * channel(ptype) * size_of(ptype); // qq: TODO: dis should be long
dis += (int64_t) nnum_cum_[depth] * channel(ptype) * size_of(ptype);
if (dis==0){std::cout << "Warning in OctreeInfo: ptr_dis\n";}
} else {
// ignore the input parameter depth
Expand Down
Binary file modified pdbbind/.DS_Store
Binary file not shown.
Binary file modified pdbbind/data_example/.DS_Store
Binary file not shown.
Binary file modified tensorflow/.DS_Store
Binary file not shown.
Binary file modified tensorflow/script/.DS_Store
Binary file not shown.

0 comments on commit 087cec9

Please sign in to comment.