Skip to content

Commit

Permalink
fix Fail to build on macos: explicit instantiation of 'deepmd::Region…
Browse files Browse the repository at this point in the history
…' must occur in namespace 'deepmd' (#1071)

Co-authored-by: Han Wang <wang_han@iapcm.ac.cn>
  • Loading branch information
amcadmus and Han Wang committed Aug 31, 2021
1 parent 4c10232 commit 75160c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/lib/src/region.cc
Expand Up @@ -22,8 +22,8 @@ Region<FPTYPE>::
delete [] rec_boxt;
}

template struct Region<double>;
template struct Region<float>;
template struct deepmd::Region<double>;
template struct deepmd::Region<float>;

template<typename FPTYPE>
inline FPTYPE
Expand Down

0 comments on commit 75160c7

Please sign in to comment.