Question: Using SingularValues in a Procedure

I am trying to write a procedure that uses LinearAlgebra[SingularValues]. For some reason, the line U,S,Vt := LinearAlgebra[SingularValues](covariance, output=['U','S','Vt']); causes the procedure to give the error message: Error, (in LinearAlgebra:-LA_Main:-SingularValues) invalid output (U) specified However, outside the procedure the same line works perfectly. Any help will be much appreciated!
Please Wait...