lxvm / AutoBZ.jl

Automatic and adaptive BZ integration for electronic properties
https://lxvm.github.io/AutoBZ.jl/
MIT License
3 stars 1 forks source link

restore autoptr performance and reduce invalidations #25

Closed lxvm closed 9 months ago

lxvm commented 9 months ago

24 fixed some things but broke others. This pr fixes the major issues I can find

Fixed by #24

This pr fixes:

Eventually, we should implement IntegralSolver in terms of IntegralCache since a mutable cache will avoid the issues we had with AutoPTR. The only outstanding issue is how to deal with parameter transformations that change the types of parameters, since mutable will still have to be type-stable