[Rinside-commits] r218 - in pkg: . inst/examples/wt

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Dec 5 03:58:53 CET 2011


Author: edd
Date: 2011-12-05 03:58:52 +0100 (Mon, 05 Dec 2011)
New Revision: 218

Modified:
   pkg/ChangeLog
   pkg/inst/examples/wt/wtdensity.cpp
Log:
bw capped at 200


Modified: pkg/ChangeLog
===================================================================
--- pkg/ChangeLog	2011-12-05 02:44:10 UTC (rev 217)
+++ pkg/ChangeLog	2011-12-05 02:58:52 UTC (rev 218)
@@ -1,5 +1,7 @@
 2011-12-04  Dirk Eddelbuettel  <edd at debian.org>
 
+	* inst/examples/wt/wtdensity.cpp: bandwidth value capped at 200 like qt
+
 	* inst/examples/qt/qtdensity.cpp: Default to svg creation via the
 	svg() now in base R, ie remove both the test for cairoDevice and the
 	fallback use of png graphics code; we still need to filter the svg file

Modified: pkg/inst/examples/wt/wtdensity.cpp
===================================================================
--- pkg/inst/examples/wt/wtdensity.cpp	2011-12-05 02:44:10 UTC (rev 217)
+++ pkg/inst/examples/wt/wtdensity.cpp	2011-12-05 02:58:52 UTC (rev 218)
@@ -83,7 +83,7 @@
     midbox->addWidget(new WText("Density estimation scale factor (div. by 100)"));
     midbox->addWidget(new WBreak());                       	// insert a line break
     spin_ = new WSpinBox(midbox);
-    spin_->setRange(1, 150);
+    spin_->setRange(5, 200);
     spin_->setValue(bw_);
     spin_->valueChanged().connect(this, &DensityApp::reportSpinner);
 



More information about the Rinside-commits mailing list