aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--R/calibrate_tranches_BC.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/calibrate_tranches_BC.R b/R/calibrate_tranches_BC.R
index 49e231f3..cb04ab72 100644
--- a/R/calibrate_tranches_BC.R
+++ b/R/calibrate_tranches_BC.R
@@ -43,7 +43,7 @@ for(i in seq_along(runs$name)){
index.name <- runs$name[i]
tenor <- runs$tenor[i]
filename <- file.path(root.dir,"Tranche_data","Runs",
- paste(index.name,tenor,"csv",sep="."))
+ paste(tolower(index.name), tenor, "csv",sep="."))
if(!file.exists(filename)){
args$update <- FALSE
}