electronic-structure / SIRIUS

Domain specific library for electronic structure calculations
BSD 3-Clause "New" or "Revised" License
115 stars 40 forks source link

[fix] add .template keyword #931

Closed toxa81 closed 7 months ago

toxa81 commented 7 months ago

for some compilers .template is needed to access radial_integrals_sum<>()

simonpintarelli commented 7 months ago

~Why not pass the enum as argument instead of template parameter?~

Ah ok, it is called many times. This might be faster, but if it's passed as type, can we have a constexpr switch?