[Blotter-commits] r782 - pkg/FinancialInstrument/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Sep 17 16:03:25 CEST 2011


Author: gsee
Date: 2011-09-17 16:03:25 +0200 (Sat, 17 Sep 2011)
New Revision: 782

Modified:
   pkg/FinancialInstrument/R/load.instruments.R
Log:
 oops

Modified: pkg/FinancialInstrument/R/load.instruments.R
===================================================================
--- pkg/FinancialInstrument/R/load.instruments.R	2011-09-17 13:55:00 UTC (rev 781)
+++ pkg/FinancialInstrument/R/load.instruments.R	2011-09-17 14:03:25 UTC (rev 782)
@@ -77,7 +77,7 @@
             warning("metadata does not appear to contain instrument type, using ",default_type,". This may produce incorrect valuations.")
             filedata$type<-rep(default_type,nrow(filedata))
         } else {
-            filedata$type <- rep(default_type, nrow(filedata))
+            filedata$type <- rep(dotargs$type, nrow(filedata))
             dotargs$type <- NULL        
         }
     }



More information about the Blotter-commits mailing list