[FIX] bug fix in QDA

Fixes #3721

my point is that below you use `u = np.asarray([np.sum(np.log(s)) for s in self.scalings_])`

if self.scalings_ is an array just do: `u = np.sum(np.log(self.scalings_))`

and maybe do it even if it's not an array....