tmp update

This commit is contained in:
张壹 2024-10-25 11:31:15 +08:00
parent 6e89730ddf
commit ef7c8e3dc2

View File

@ -280,5 +280,5 @@ void gctl::kde2d::get_gradient_y_at(size_t m_id, const array<double> &mx,
double gctl::kde2d::gaussian_kernel(double x, double y)
{
return exp(-0.5*(x*x + y*y))/(2*M_PI);
return exp(-0.5*(x*x + y*y))/sqrt(2*M_PI);
}