summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,