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

± operator ? #20

Open
RainerHeintzmann opened this issue May 30, 2024 · 1 comment
Open

± operator ? #20

RainerHeintzmann opened this issue May 30, 2024 · 1 comment

Comments

@RainerHeintzmann
Copy link

I tried using IntegralImages.jl with the advertised ± operator, but without success:
Even in the unit tests I find:

int_sum = int_array[3 ± 2, 1..2]

but I could not find anything about it in the code and it does not seem to work at all for me.

ERROR: UndefVarError: `±` not defined
Stacktrace:
 [1] top-level scope
   @ REPL[224]:1

I am possibly doing something wrong, but am a little stuck here.

@RainerHeintzmann
Copy link
Author

... found the answer. To use the \pm operator, one needs to also add and use the IntervalSets.jl toolbox. I suggest to add this to the documentation in particular to the example given on the front page. \pm does create the symbol correctly even without the IntervalSets.jl toolbox, but it will not be interpreted as a range object.

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