aboutsummaryrefslogtreecommitdiffstats
path: root/R/calibration.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/calibration.R')
-rw-r--r--R/calibration.R8
1 files changed, 1 insertions, 7 deletions
diff --git a/R/calibration.R b/R/calibration.R
index 040c8b8f..ea3c6d14 100644
--- a/R/calibration.R
+++ b/R/calibration.R
@@ -1,10 +1,4 @@
-if(.Platform$OS.type == "unix"){
- root.dir <- "/home/share/CorpCDOs"
-}else{
- root.dir <- "//WDSENTINEL/share/CorpCDOs"
-}
-source(file.path(root.dir, "code", "R", "cds_utils.R"))
-source(file.path(root.dir, "code", "R", "cds_functions_generic.R"))
+source("cds_functions_generic.R")
buildSC <- function(quote, cs, cdsdates){
SC <- new("creditcurve",