Skip to content

Commit

Permalink
import algs
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Nov 2, 2023
1 parent 9cfcadb commit ebd0331
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion ext/IntegralsCubaExt.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
module IntegralsCubaExt

using Integrals, Cuba
import Integrals: transformation_if_inf, scale_x, scale_x!
import Integrals: transformation_if_inf, scale_x, scale_x!, CubaVegas, AbstractCubaAlgorithm,
CubaSUAVE, CubaDivonne, CubaCuhre

function Integrals.__solvebp_call(prob::IntegralProblem, alg::AbstractCubaAlgorithm,
sensealg,
Expand Down
7 changes: 4 additions & 3 deletions ext/IntegralsCubatureExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ module IntegralsCubatureExt

using Integrals, Cubature

import Integrals: transformation_if_inf, scale_x, scale_x!
import Integrals: transformation_if_inf, scale_x, scale_x!, CubatureJLh, CubatureJLp,
AbstractCubatureJLAlgorithm
import Cubature: INDIVIDUAL, PAIRED, L1, L2, LINF

Integrals.CubatureJLh(; error_norm = Cubature.INDIVIDUAL) = CubatureJLh(error_norm)
Integrals.CubatureJLp(; error_norm = Cubature.INDIVIDUAL) = CubatureJLp(error_norm)
CubatureJLh(; error_norm = Cubature.INDIVIDUAL) = CubatureJLh(error_norm)
CubatureJLp(; error_norm = Cubature.INDIVIDUAL) = CubatureJLp(error_norm)

function Integrals.__solvebp_call(prob::IntegralProblem,
alg::AbstractCubatureJLAlgorithm,
Expand Down

0 comments on commit ebd0331

Please sign in to comment.