We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e1fe15 commit 16d8b9fCopy full SHA for 16d8b9f
source/source_lcao/module_rt/snap_psibeta_half_tddft.cpp
@@ -53,7 +53,7 @@ inline double interpolate_radial(
53
int iq = static_cast<int>(position);
54
55
// Boundary check safe-guard
56
- if (iq >= mesh - 4) return 0.0;
+ if (iq > mesh - 4) return 0.0;
57
58
const double x0 = position - static_cast<double>(iq);
59
const double x1 = 1.0 - x0;
0 commit comments