Skip to content
Myr

Merge pull request #853 from Rohan5commit/docs/fix-comment-typo

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by GitHub · parents 0f7ae35, 7720bfa · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • docs: fix typo in relative speed comment

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/benchmark/relative_speed.rs+1 added-1 removed
50 unmodified lines
51 Ordering::Greater => result.mean / reference.mean,52 };5354 // https://en.wikipedia.org/wiki/Propagation_of_uncertainty#Example_formulas55 // Covariance asssumed to be 0, i.e. variables are assumed to be independent55 // Covariance assumed to be 0, i.e. variables are assumed to be independent56 let ratio_stddev = match (result.stddev, reference.stddev) {57 (Some(result_stddev), Some(fastest_stddev)) => Some(58 ratio59 * ((result_stddev / result.mean).powi(2)
121 unmodified lines