summaryrefslogtreecommitdiffstats
path: root/c_layer/cdsbootstrap.h
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2023-01-13 09:58:41 -0500
committerGuillaume Horel <guillaume.horel@gmail.com>2023-01-13 09:58:41 -0500
commite43f9172581dff0a3ca2471f6bdb9d6426150487 (patch)
tree000fab49efaccd1a051eaf09f89c03c84e96bda5 /c_layer/cdsbootstrap.h
parent5d3bf18797eabf2a9534388026ade2f02d57b311 (diff)
downloadpyisda-e43f9172581dff0a3ca2471f6bdb9d6426150487.tar.gz
use get_TCurve method
Diffstat (limited to 'c_layer/cdsbootstrap.h')
-rw-r--r--c_layer/cdsbootstrap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c_layer/cdsbootstrap.h b/c_layer/cdsbootstrap.h
index 42d298c..e49808d 100644
--- a/c_layer/cdsbootstrap.h
+++ b/c_layer/cdsbootstrap.h
@@ -16,7 +16,7 @@ typedef struct
{
TDate stepinDate;
TDate cashSettleDate;
- TCurve *discountCurve;
+ const TCurve *discountCurve;
TCurve *cdsCurve;
double recoveryRate;
double spread;