-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tfocs_initialize bug #7
Comments
I just ran into this same issue (using R2016b) and was able to solve it by adding |
Thanks to both of you for noticing. Someone else noticed earlier and we actually pushed a fix to github in November, and the recent "2017 release" v1.4.1 .zip on github contains this fix, so download the most recent version of TFOCS should fix it. I did notice that our link to the zip file on cvxr.com is an old one (http://cvxr.com/tfocs/download/) that points to the buggy version, so I will update that link! |
Thank you Stephen! |
When I run matrix completion solver on Matlab 2016b or newer, it gave the following error info:
Error using nargin
You can only call nargin/nargout from within a MATLAB function.
Error in tfocs_initialize (line 43)
if nargin < 1 || ( nargin ==1 && isstruct( smoothF ) )
Error in tfocs_AT (line 13)
tfocs_initialize
Error in tfocs (line 105)
[ varargout{1:max(nargout,1)} ] = feval( [ 'tfocs_', alg ], smoothF, affineF, projectorF, x0, opts );
Error in tfocs_SCD (line 118)
[ z, odata, opts ] = tfocs( smoothF, affineF, dualproxF, z0, opts );
Error in solver_sNuclearBP (line 82)
tfocs_SCD( prox, { A, -b }, proj_Rn, mu, x0, z0, opts, varargin{:} );
Error in P3 (line 20)
Xk = solver_sNuclearBP( {N,N,omega}, observations, mu );
However, the same code works well on version 2015b. I did not try version by version but the bug seems happen because the way Matlab platform identity script or function has changed in some newer release.
The text was updated successfully, but these errors were encountered: