summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2016-11-16 16:09:29 -0500
committerGuillaume Horel <guillaume.horel@gmail.com>2016-11-17 10:18:20 -0500
commit4578471b08933f0b2b1e61eccc5e3c5780a8be3d (patch)
tree13b72ceb31806e269876de71a87bba641e3a3b64
parent646adeb644258a6917906f91aefff8e557dd4a20 (diff)
downloadpyisda-4578471b08933f0b2b1e61eccc5e3c5780a8be3d.tar.gz
spacing
-rw-r--r--pyisda/flat_hazard.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyisda/flat_hazard.pyx b/pyisda/flat_hazard.pyx
index 7bf548a..1db31e6 100644
--- a/pyisda/flat_hazard.pyx
+++ b/pyisda/flat_hazard.pyx
@@ -179,7 +179,7 @@ def pv_vec(double[:] spreads, YieldCurve yc, trade_date, value_date,
1e-10, # xacc */
1e-10, # facc */
&h) != 0:
- printf("Failed to find hazard rate for %f:\n", spreads[i])
+ printf("Failed to find hazard rate for: %f\n", spreads[i])
break
sc.fArray[0].fRate = h
if JpmcdsFeeLegPV(fee_leg, trade_date_c, step_in_date_c, value_date_c,