aboutsummaryrefslogtreecommitdiffstats
path: root/R/intex_deal_functions.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/intex_deal_functions.R')
-rw-r--r--R/intex_deal_functions.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/intex_deal_functions.R b/R/intex_deal_functions.R
index a15404b6..a7889d4d 100644
--- a/R/intex_deal_functions.R
+++ b/R/intex_deal_functions.R
@@ -242,7 +242,7 @@ buildSC <- function(line.item, reinvdate, dealmaturity, global.params, startdate
buildSC.portfolio <- function(dealname, dealdata, cusipdata, global.params, startdate = Sys.Date()) {
collatdata <- getcollateral(dealname, startdate)
- index <- hash(cusipdata$cusip, 1:length(cusipdata$cusip))
+ index <- hash(cusipdata$cusip, seq.int(cusipdata$cusip))
notionalvec <- c()
SCvec <- c()
betavec <- c()