Skip to content

Commit 75160c7

Browse files
amcadmusHan Wang
andauthored
fix Fail to build on macos: explicit instantiation of 'deepmd::Region' must occur in namespace 'deepmd' (#1071)
Co-authored-by: Han Wang <[email protected]>
1 parent 4c10232 commit 75160c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/lib/src/region.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Region<FPTYPE>::
2222
delete [] rec_boxt;
2323
}
2424

25-
template struct Region<double>;
26-
template struct Region<float>;
25+
template struct deepmd::Region<double>;
26+
template struct deepmd::Region<float>;
2727

2828
template<typename FPTYPE>
2929
inline FPTYPE

0 commit comments

Comments
 (0)