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

suppress some warnings with octave #2

Open
Remi-Gau opened this issue Oct 1, 2019 · 1 comment
Open

suppress some warnings with octave #2

Remi-Gau opened this issue Oct 1, 2019 · 1 comment

Comments

@Remi-Gau
Copy link

Remi-Gau commented Oct 1, 2019

Using this toolbox with octave tends to give a large number of warnings because of the frequent use of

  • | instead of || for OR
  • & instead of && for AND

See example below taken from here

if ~exist('img_idx','var') | isempty(img_idx)
      img_idx = [];
end

I have started to modify some these to keep both matlab and octave happy: should I send a pull request?

@sergivalverde
Copy link
Owner

Yes please :)

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