diff options
| -rw-r--r-- | R/creditIndex.R | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/R/creditIndex.R b/R/creditIndex.R index 7ce7af7c..3d2c8681 100644 --- a/R/creditIndex.R +++ b/R/creditIndex.R @@ -113,7 +113,7 @@ tosql <- function(index){ index$basis, index$EL, index$duration, - if(is.na(index$theta)) "NULL" else index$theta, + index$theta, sqlArray(as.integer(index$K.orig*100)), sqlArray(index$rho[-1]), sqlArray(index$tranches$mkt.delta), |
