If you run the following code:
using IntervalArithmetic
a = interval(1.0, 2.0)
intersect(a, a)
you would appropriately get the following error: ArgumentError: `intersect` is purposely not supported for intervals. See instead `intersect_interval` .
However, if you run something like this:
using IntervalArithmetic
a = interval(1.0, 2.0)
intersect(a, 1.0)
you would get: ArgumentError: `union!` is purposely not supported for intervals. See instead `hull` , but I believe this should return the same error as the first instance.
If you run the following code:
you would appropriately get the following error:
ArgumentError: `intersect` is purposely not supported for intervals. See instead `intersect_interval`.However, if you run something like this:
you would get:
ArgumentError: `union!` is purposely not supported for intervals. See instead `hull`, but I believe this should return the same error as the first instance.