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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Jun 28 20:02:55 CEST 2013


Author: rossbennett34
Date: 2013-06-28 20:02:53 +0200 (Fri, 28 Jun 2013)
New Revision: 2464

Modified:
   pkg/PortfolioAnalytics/R/constraints.R
Log:
fixed typo

Modified: pkg/PortfolioAnalytics/R/constraints.R
===================================================================
--- pkg/PortfolioAnalytics/R/constraints.R	2013-06-28 17:58:10 UTC (rev 2463)
+++ pkg/PortfolioAnalytics/R/constraints.R	2013-06-28 18:02:53 UTC (rev 2464)
@@ -495,7 +495,7 @@
 #' @export
 turnover_constraint <- function(type, turnover.target, enabled=FALSE, ...){
   Constraint <- constraint_v2(type, enabled=enabled, constrclass="turnover_constraint", ...)
-  Constraint$toc <- turnover,target
+  Constraint$toc <- turnover.target
   return(Constraint)
 }
 



More information about the Returnanalytics-commits mailing list