evangelistalab / forte

http://www.evangelistalab.org
GNU Lesser General Public License v3.0
54 stars 30 forks source link

Update math_structures.h #427

Closed lcyyork closed 1 month ago

lcyyork commented 1 month ago

Description

Intel 2025.0 complains about the insert method in VectorSpaceList, which is only defined in VectorSpace. I think the correct way is to use add instead of insert for VectorSpaceList. Please close this PR if I am wrong. Thanks!

User Notes

Checklist

fevangelista commented 1 month ago

The compiler is right. This was never detected because the function is probably not used (and therefore not compiled).