From e43f9172581dff0a3ca2471f6bdb9d6426150487 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Fri, 13 Jan 2023 09:58:41 -0500 Subject: use get_TCurve method --- c_layer/cdsbootstrap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c_layer/cdsbootstrap.c') 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; -- cgit v1.2.3-70-g09d2