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

Interval arithmetic #23

Closed
ghost opened this issue Sep 23, 2014 · 2 comments
Closed

Interval arithmetic #23

ghost opened this issue Sep 23, 2014 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 23, 2014

In the Readme, regarding PDEs:
d=Interval()^2.
In Julia 0.3.0, ApproxFun 0.0.3, This raises an error,
ERROR: '*' has no method matching *(::Interval{Float64}, ::Interval{Float64}) in power_by_squaring at intfuncs.jl:56 in ^ at intfuncs.jl:86
And somewhat hobbles the PDE solving efforts. Indeed, it appears no arithmetic is defined for the Interval type. Is there an implicit dependency that one must build?

@dlfivefifty
Copy link
Member

Hi Chris,

The readme is updated for the latest master.  Try 

    d=Interval()⊗Interval()

On 24 Sep 2014, at 8:18 am, chrishasaflavor notifications@github.com wrote:

In the Readme, regarding PDEs:
d=Interval()^2.
In Julia 0.3.0, ApproxFun 0.0.3, This raises an error,
ERROR: '*' has no method matching *(::Interval{Float64}, ::Interval{Float64})
in power_by_squaring at intfuncs.jl:56
in ^ at intfuncs.jl:86
And somewhat hobbles the PDE solving efforts. Indeed, it appears no arithmetic is defined for the Interval type. Is there an implicit dependency that one must build?


Reply to this email directly or view it on GitHub.

@ghost
Copy link
Author

ghost commented Sep 23, 2014

Very nice, thank you.

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