diff options
Diffstat (limited to 'externals/grill/vasp/source/env.cpp')
-rw-r--r-- | externals/grill/vasp/source/env.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/externals/grill/vasp/source/env.cpp b/externals/grill/vasp/source/env.cpp index 010f888e..2f0fb58b 100644 --- a/externals/grill/vasp/source/env.cpp +++ b/externals/grill/vasp/source/env.cpp @@ -97,7 +97,7 @@ Env::Iter::Iter(const Env &bpl): bp(bpl),ppt(-BIG),npt(BIG),pvl(0),k(0) {} V Env::Iter::Init(R p) { I cnt = bp.Count(); - ASSERT(cnt > 0); + FLEXT_ASSERT(cnt > 0); if(p < bp.Pos(0)) { // position is before the head @@ -115,7 +115,7 @@ V Env::Iter::Init(R p) if(p >= bp.Pos(ix)) break; ppt = bp.Pos(ix); pvl = bp.Val(ix); - ASSERT(ix < cnt); + FLEXT_ASSERT(ix < cnt); } if(ix >= cnt) { |