Skip to content
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

MATLAB R2016a Warning - nargchk Will Be Removed #1

Open
RoyiAvital opened this issue Nov 24, 2016 · 1 comment
Open

MATLAB R2016a Warning - nargchk Will Be Removed #1

RoyiAvital opened this issue Nov 24, 2016 · 1 comment

Comments

@RoyiAvital
Copy link

Hello,

Is CVX still being developed?

Anyhow, CVX uses nargchk which, according to Mathworks will be removed soon and yields warning in MATLAB R2016a (Probably MATLAB R2016b as well).

This implies CVX won't run on next versions of MATLAB.

Could you please fix it?
Mathworks suggest using narginchk.

CVX is amazing, I hope it is still under active development.

Thank You.

@RoyiAvital
Copy link
Author

RoyiAvital commented Mar 20, 2020

@mcg1969 , I found something small in the documentation.

In https://github.com/cvxr/CVX/blame/a7b46e7840c3ccf3f35df374d2ff3da4eaafc3cd/doc/funcref.rst#L254 You write:

If $x$ is a vector or array, the function is applied on an elementwise basis.

I assume that in order to return a scalar it also sums the result, right?
I think it is better be mentioned.

Edit
It seems indeed it works on each component and the output is a vector. So all is OK. My mistake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant