scalanlp/scalanlp-core — Issue #5: Gaussian distribution
Author: duckworthd
Created: 2011-12-22 19:22:05+00:00
State: open

Two small issues,

1) I believe the unnormalizedLogPdf is off by a factor of 2

```scala
override def unnormalizedLogPdf(t: Double) = {
val d = (t - mu)/sigma;
-d *d
}
```

2) Scalala.library.numerics.erf is incorrect about 0. I've added a ticket for it [here](https://github.com/scalala/Scalala/issues/36), but I wasn't sure if you wanted to address the issue yourself.

Thanks!