Commits

Lan Zagar committed ac22644

Change inplace sqrt because of FutureWarning.

  • Participants
  • Parent commits f46a922

Comments (0)

Files changed (1)

File _multitask/mtfeat.py

             Wold = W.copy()
 
             # Compute D^{1/2}
-            sqrt(s, s)
+            s = sqrt(s)
             D_sqrt = diag(s) if self.selection else dot(U, dot(diag(s), U.T))
 
             # Solve the regularization problem for fixed D