[Blotter-commits] r624 - pkg/blotter/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Jun 11 15:54:54 CEST 2011


Author: gsee
Date: 2011-06-11 15:54:54 +0200 (Sat, 11 Jun 2011)
New Revision: 624

Modified:
   pkg/blotter/R/updateAcct.R
Log:
long AND needed


Modified: pkg/blotter/R/updateAcct.R
===================================================================
--- pkg/blotter/R/updateAcct.R	2011-06-10 15:47:38 UTC (rev 623)
+++ pkg/blotter/R/updateAcct.R	2011-06-11 13:54:54 UTC (rev 624)
@@ -55,7 +55,7 @@
 					}
 				}
 			}		
-			if(is.na(CcyMult) & !is.na(FXrate)) {
+			if(is.na(CcyMult) && !is.na(FXrate)) {
 				if(inherits(FXrate,'xts')){
 					CcyMult <- FXrate[Dates]
 					CcyMult <- na.locf(merge(CcyMult,index(psummary)))



More information about the Blotter-commits mailing list