Skip to content

Commit

Permalink
fix #44 (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtravs authored and stevengj committed Aug 13, 2019
1 parent 32069d9 commit 910415e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cubature.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const FAILURE = Int32(1)
# type to distinguish cubature error codes from thrown exceptions
struct NoError <: Exception end # used for integrand_error when nothing thrown

struct IntegrandData{F}
mutable struct IntegrandData{F}
integrand_func::F
integrand_error::Any
IntegrandData(f::F) where{F} = new{F}(f, NoError())
Expand Down

0 comments on commit 910415e

Please sign in to comment.