[Rquantlib-commits] r269 - pkg/RQuantLib/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Jul 10 18:51:59 CEST 2010


Author: edd
Date: 2010-07-10 18:51:58 +0200 (Sat, 10 Jul 2010)
New Revision: 269

Modified:
   pkg/RQuantLib/src/asian.cpp
Log:
init return list with R_NilValue


Modified: pkg/RQuantLib/src/asian.cpp
===================================================================
--- pkg/RQuantLib/src/asian.cpp	2010-07-06 01:49:23 UTC (rev 268)
+++ pkg/RQuantLib/src/asian.cpp	2010-07-10 16:51:58 UTC (rev 269)
@@ -69,7 +69,7 @@
         
 
         Average::Type averageType = Average::Geometric;
-        Rcpp::List rl = NULL;
+        Rcpp::List rl = R_NilValue;
    
         if (avgType=="geometric"){
             averageType = Average::Geometric;



More information about the Rquantlib-commits mailing list