carstenbauer / StableDQMC.jl

Numerical stabilization routines for determinant quantum Monte Carlo
https://carstenbauer.github.io/StableDQMC.jl/dev/
MIT License
29 stars 5 forks source link

internaluse business #4

Open carstenbauer opened 5 years ago

carstenbauer commented 5 years ago

Overthink this. If internaluse=false it might happen that we (unnecessarily) preallocate twice. Once in the keywords (e.g. t = similar(F.U)) and once in the end (copy(t)).