diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2023-01-13 09:58:41 -0500 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2023-01-13 09:58:41 -0500 |
| commit | e43f9172581dff0a3ca2471f6bdb9d6426150487 (patch) | |
| tree | 000fab49efaccd1a051eaf09f89c03c84e96bda5 /c_layer/cdsbootstrap.c | |
| parent | 5d3bf18797eabf2a9534388026ade2f02d57b311 (diff) | |
| download | pyisda-e43f9172581dff0a3ca2471f6bdb9d6426150487.tar.gz | |
use get_TCurve method
Diffstat (limited to 'c_layer/cdsbootstrap.c')
| -rw-r--r-- | c_layer/cdsbootstrap.c | 2 |
1 files changed, 1 insertions, 1 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; |
