Skip to content

Commit 9d8de81

Browse files
committed
Erf fix
1 parent 3d3d31f commit 9d8de81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/nbl/builtin/hlsl/impl/tgmath_impl.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ struct erf_helper<FloatingPoint NBL_PARTIAL_REQ_BOT(concepts::FloatingPointScala
301301
{
302302
static FloatingPoint __call(NBL_CONST_REF_ARG(FloatingPoint) x)
303303
{
304-
return std::erf<FloatingPoint>(x);
304+
return std::erf(x);
305305
}
306306
};
307307

0 commit comments

Comments
 (0)