diff options
Diffstat (limited to 'c_layer')
| -rw-r--r-- | c_layer/cdsbootstrap.c | 2 | ||||
| -rw-r--r-- | c_layer/cdsbootstrap.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/c_layer/cdsbootstrap.c b/c_layer/cdsbootstrap.c index bbecc08..a1b65ca 100644 --- a/c_layer/cdsbootstrap.c +++ b/c_layer/cdsbootstrap.c @@ -9,7 +9,7 @@ int cdsBootstrapPointFunction cds_bootstrap_ctx *context = (cds_bootstrap_ctx*)data; - TCurve *discountCurve = context->discountCurve; + const TCurve *discountCurve = context->discountCurve; TCurve *cdsCurve = context->cdsCurve; TDate cdsBaseDate = cdsCurve->fBaseDate; TDate stepinDate = context->stepinDate; 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; |
