Skip to content

Commit 0d3ec34

Browse files
committed
fix: error message
1 parent 79940da commit 0d3ec34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stats/fd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ impl FractalDim {
1717
/// Calculate the variogram of the path.
1818
pub fn variogram(&self, p: Option<f64>) -> f64 {
1919
if self.x.len() < 3 {
20-
panic!("A path hossza legalább 3 kell, hogy legyen.");
20+
panic!("A path must have at least 3 points to calculate the variogram.");
2121
}
2222

2323
let p = p.unwrap_or(1.0);

0 commit comments

Comments
 (0)