[Returnanalytics-commits] r3644 - pkg/PortfolioAnalytics/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon May 4 12:18:53 CEST 2015
Author: rossbennett34
Date: 2015-05-04 12:18:53 +0200 (Mon, 04 May 2015)
New Revision: 3644
Modified:
pkg/PortfolioAnalytics/R/optimize.portfolio.R
Log:
removing print statements that made it into the last commit by mistake
Modified: pkg/PortfolioAnalytics/R/optimize.portfolio.R
===================================================================
--- pkg/PortfolioAnalytics/R/optimize.portfolio.R 2015-05-04 10:05:21 UTC (rev 3643)
+++ pkg/PortfolioAnalytics/R/optimize.portfolio.R 2015-05-04 10:18:53 UTC (rev 3644)
@@ -686,7 +686,6 @@
DEcformals <- formals(DEoptim::DEoptim.control)
DEcargs <- names(DEcformals)
- print(names(dotargs))
if( is.list(dotargs) ){
pm <- pmatch(names(dotargs), DEcargs, nomatch = 0L)
names(dotargs[pm > 0L]) <- DEcargs[pm]
@@ -733,7 +732,6 @@
}
if(hasArg(traceDE)) traceDE=match.call(expand.dots=TRUE)$traceDE else traceDE=TRUE
DEcformals$trace <- traceDE
- print(DEcformals)
if(isTRUE(trace)) {
#we can't pass trace=TRUE into constrained objective with DEoptim, because it expects a single numeric return
tmptrace <- trace
More information about the Returnanalytics-commits
mailing list