From 31fdc936583a8b0cfc7166f76e3ed674eabfd7e5 Mon Sep 17 00:00:00 2001 From: Joe Wingbermuehle Date: Thu, 27 Sep 2018 13:02:46 -0500 Subject: [PATCH] Make stepsize a double (not an int). --- src/main/scala/com/cibo/scalastan/RunMethod.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/com/cibo/scalastan/RunMethod.scala b/src/main/scala/com/cibo/scalastan/RunMethod.scala index 6e113d4..9cf3895 100644 --- a/src/main/scala/com/cibo/scalastan/RunMethod.scala +++ b/src/main/scala/com/cibo/scalastan/RunMethod.scala @@ -140,7 +140,7 @@ object RunMethod { engine: Engine = Nuts(), metric: Metric = DiagE, metricFile: String = "", - stepsize: Int = 1, + stepsize: Double = 1.0, stepsizeJitter: Int = 0 ) extends SampleAlgorithm("hmc") { def arguments: Seq[String] = build(