Skip to content

Commit af6f565

Browse files
committed
check nullptr
1 parent b267ee6 commit af6f565

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/module_basis/module_ao/ORB_atomic.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ class Numerical_Orbital
6666

6767
const inline Numerical_Orbital_Lm& PhiLN( const int &L, const int &N)const
6868
{
69+
assert(this->phiLN != nullptr);
6970
return this->phiLN[ this->find_chi(L, N) ];
7071
}
7172

0 commit comments

Comments
 (0)