summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2018-09-20 15:57:40 -0400
committerGuillaume Horel <guillaume.horel@gmail.com>2018-09-20 16:00:58 -0400
commit06df77a205557438d6329115be84ef6dfba78587 (patch)
tree5447595e4c0b5892cdd2ead820e98c1518c724cd /setup.py
parent556e84616731934ba1814a3f5cf770d57f1fcbb0 (diff)
downloadpyisda-06df77a205557438d6329115be84ef6dfba78587.tar.gz
rework flat_hazard into an optim module
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 359540d..ff8a420 100644
--- a/setup.py
+++ b/setup.py
@@ -10,9 +10,9 @@ all_extensions = Extension("*", ["pyisda/*.pyx"],
extra_compile_args=['-fopenmp'],
extra_link_args=['-fopenmp', '-Wl,--strip-all'])
-c_extension = Extension("pyisda.flat_hazard",
+c_extension = Extension("pyisda.optim",
include_dirs=['c_layer', numpy.get_include()],
- sources=['pyisda/flat_hazard.pyx', 'c_layer/cdsbootstrap.c'],
+ sources=['pyisda/optim.pyx', 'c_layer/cdsbootstrap.c'],
libraries=['cds'],
language='c++')