It seems that there may be an error in bfset.h. Specifically here.
|
for (unsigned int xyz = 0; xyz < 3; ++xyz) Diff.dec(xyz, B.d(xyz)); |
When
NDIM is 1, this will try to read past the end of the array, resulting in undefined behavior. Perhaps the 3 is supposed to be
NDIM?
It seems that there may be an error in bfset.h. Specifically here.
libint/src/bin/libint/bfset.h
Line 233 in ab7f87a
When
NDIMis 1, this will try to read past the end of the array, resulting in undefined behavior. Perhaps the 3 is supposed to beNDIM?