Skip to content

Commit 87fadf6

Browse files
authored
Merge pull request #3077 from zhanluxianshen/typo-candle-core
clean candle-core typos.
2 parents 0cf516d + f62e725 commit 87fadf6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

candle-core/src/cpu/erf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mod evaluate {
77
//! Provides functions that don't have a numerical solution and must
88
//! be solved computationally (e.g. evaluation of a polynomial)
99
10-
/// evaluates a polynomial at `z` where `coeff` are the coeffecients
10+
/// evaluates a polynomial at `z` where `coeff` are the coefficients
1111
/// to a polynomial of order `k` where `k` is the length of `coeff` and the
1212
/// coeffecient
1313
/// to the `k`th power is the `k`th element in coeff. E.g. [3,-1,2] equates to

candle-core/tests/pth_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fn test_pth_with_key() {
1414
}
1515

1616
#[test]
17-
fn test_pth_fortran_congiguous() {
17+
fn test_pth_fortran_contiguous() {
1818
let tensors =
1919
candle_core::pickle::PthTensors::new("tests/fortran_tensor_3d.pth", None).unwrap();
2020
let tensor = tensors.get("tensor_fortran").unwrap().unwrap();

0 commit comments

Comments
 (0)