enforce correct dtype promotion in qgt
Created by: PhilipVinc
numpy.sqrt() was not a weak type and was promoting float32 networks to float64 in some cases.
@inailuig if you have some time at some point I'd love if you could contribute a test for this