Skip to content

Commit 000ddd9

Browse files
jorenhamCopilot
andauthored
fix inconsistent parameter name in comment
Co-authored-by: Copilot <[email protected]>
1 parent 7aabb8b commit 000ddd9

File tree

1 file changed

+1
-1
lines changed
  • src/math/special_functions

1 file changed

+1
-1
lines changed

src/math/special_functions/erf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub fn erf_inv(p: f64) -> f64 {
2828

2929
/// Inverse of [`erfc`]
3030
///
31-
/// Corresponds to `boost::math::erfc_inv(x)` in C++.
31+
/// Corresponds to `boost::math::erfc_inv(q)` in C++.
3232
/// <https://boost.org/doc/libs/latest/libs/math/doc/html/math_toolkit/sf_erf/error_inv.html>
3333
pub fn erfc_inv(q: f64) -> f64 {
3434
unsafe { ffi::math_erfc_inv(q) }

0 commit comments

Comments
 (0)