summaryrefslogtreecommitdiffstats
path: root/c_layer/cdsbootstrap.h
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@serenitascapital.com>2016-11-15 09:54:46 -0500
committerGuillaume Horel <guillaume.horel@serenitascapital.com>2016-11-15 09:54:46 -0500
commita5025ce33baad083ead22f3cff92fc88d0e2687a (patch)
tree3ed471f05100a5745828cb8d7a8688ab220d1439 /c_layer/cdsbootstrap.h
parent76064859c2d24ea1c44aa9839e09bfdada284000 (diff)
downloadpyisda-a5025ce33baad083ead22f3cff92fc88d0e2687a.tar.gz
Use gsl brent solvergsl
slower than the jpm's one
Diffstat (limited to 'c_layer/cdsbootstrap.h')
-rw-r--r--c_layer/cdsbootstrap.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/c_layer/cdsbootstrap.h b/c_layer/cdsbootstrap.h
index 2e19189..5a50962 100644
--- a/c_layer/cdsbootstrap.h
+++ b/c_layer/cdsbootstrap.h
@@ -21,6 +21,5 @@ typedef struct
} cds_bootstrap_ctx;
-int cdsBootstrapPointFunction(double hazardRate,
- void *data,
- double *pv);
+double cdsBootstrapPointFunction(double hazardRate,
+ void *data);