[Returnanalytics-commits] r2367 - pkg/PortfolioAnalytics/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jun 19 02:20:36 CEST 2013


Author: rossbennett34
Date: 2013-06-19 02:20:36 +0200 (Wed, 19 Jun 2013)
New Revision: 2367

Modified:
   pkg/PortfolioAnalytics/R/constraints.R
Log:
added 'constraint' as a class name to constraint_v2

Modified: pkg/PortfolioAnalytics/R/constraints.R
===================================================================
--- pkg/PortfolioAnalytics/R/constraints.R	2013-06-19 00:03:55 UTC (rev 2366)
+++ pkg/PortfolioAnalytics/R/constraints.R	2013-06-19 00:20:36 UTC (rev 2367)
@@ -229,7 +229,7 @@
   return(structure( c(list(type = type,
                            enabled=enabled),
                       list(...)),
-                    class=constrclass
+                    class=c(constrclass, "constraint")
   ) # end structure
   )
 }



More information about the Returnanalytics-commits mailing list