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

mpz_set_str in cyclemat #48

Closed
jeanluct opened this issue Nov 27, 2014 · 2 comments
Closed

mpz_set_str in cyclemat #48

jeanluct opened this issue Nov 27, 2014 · 2 comments

Comments

@jeanluct
Copy link
Owner

#!matlab
>> b = braid([4  3 -1  4  1  4  2 -3 -4  3 -2 -1  4  2  4 -3]);
>> b.cyclemat
Unexpected Standard exception from MEX file.
What() is:mpz_set_str
..

Error in loopsigma (line 56)
      [varargout{1:nargout}] = loopsigma_helper(ii,ustr);

Error in braidlab.braid/mtimes (line 330)
        [varargout{1:nargout}] = loopsigma(b1.word,vertcat(b2.coords));

Error in braidlab.braid/cycle (line 109)
  [l,pn] = b*l;

Error in braidlab.braid/cyclemat (line 56)
[pn,it] = cycle(b,varargin{:});
@jeanluct
Copy link
Owner Author

From Jean-Luc Thiffeault on 2014-02-27 21:18:33+00:00

Do not wrap VPIs when using num2char. Resolves issue #48.

→ <>

@jeanluct
Copy link
Owner Author

From Jean-Luc Thiffeault on 2014-02-27 21:19:56+00:00

VPI does a bad thing: when using num2str it calls disp, but disp is set to wrap at 80 lines. I added an option to disp for the wrapping length (which it now gets from the window by default). If that pagewidth is 0, then it does no wrapping (at least of single numbers, for now).

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