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

Sedumi and Octave 4.2 #24

Closed
roon63 opened this issue Jan 13, 2017 · 2 comments
Closed

Sedumi and Octave 4.2 #24

roon63 opened this issue Jan 13, 2017 · 2 comments

Comments

@roon63
Copy link

roon63 commented Jan 13, 2017

When trying to use any example from examples directory I get following error:
sedumi(At,b,c,K)
error: whichcpx: Assertion failed: nlhs <= 1, at line 154 of file "whichcpx.c".
whichcpx generates 1 output argument.

I think that building did not pass correctly.

@siko1056
Copy link
Member

For a possible explanation and fix see https://savannah.gnu.org/bugs/index.php?50050 . It does not seem to be an issue of SeDuMi. I faced the same issue and now all examples work for me again.

NexZhu pushed a commit to NexMirror/Octave that referenced this issue Jan 14, 2017
…050)

* mexproto.h (mxAssert, mxAssertS): add parenthesis to the macro parameter expr.
This avoids errors due to the operator precedence of the negation.  See bug was
first observed at: sqlp/sedumi#24.
@siko1056
Copy link
Member

Upstream Octave bug was fixed in 2017 and should no longer be a problem with newer versions of Octave.

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

2 participants