cabal-version:       2.2
name:                adaptive-cubature
version:             0.1.0.0
synopsis:            Multidimensional integration
description:         Adaptive integration of a multivariate function on a hypercube.
homepage:            https://github.com/stla/adaptive-cubature#readme
license:             GPL-3.0-only
license-file:        LICENSE
author:              Stéphane Laurent
maintainer:          laurent_step@outlook.fr
copyright:           2023 Stéphane Laurent
category:            Numerical
build-type:          Simple
extra-source-files:  README.md
                     CHANGELOG.md

library
  hs-source-dirs:      src
  exposed-modules:     Numerical.Cubature
  build-depends:       base >= 4.7 && < 5
  other-extensions:    ForeignFunctionInterface
  include-dirs:        C
  C-sources:           C/mintegration.c
                     , C/hcubature.c
                     , C/pcubature.c
  install-includes:    C/cubature.h
                     , C/converged.h
                     , C/clencurt.h
                     , C/vwrapper.h
  default-language:    Haskell2010
  ghc-options:         -Wall
                       -Wcompat
                       -Widentities
                       -Wincomplete-record-updates
                       -Wincomplete-uni-patterns
                       -Wmissing-export-lists
                       -Wmissing-home-modules
                       -Wpartial-fields
                       -Wredundant-constraints

source-repository head
  type:     git
  location: https://github.com/stla/adaptive-cubature