Skip to content

Commit 13a8496

Browse files
committed
remove invalid check
1 parent 3d47ca3 commit 13a8496

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/umv/validate.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,6 @@ impl<'a, T, D> CubicSmoothingSpline<'a, T, D>
8686
}
8787

8888
pub(super) fn evaluate_validate_data(&self, xi: ArrayView1<'a, T>) -> Result<()> {
89-
if xi.len() < 2 {
90-
return Err(
91-
InvalidInputData("The size of `xi` must be greater or equal to 2".to_string())
92-
)
93-
}
94-
9589
if self.spline.is_none() {
9690
return Err(
9791
InvalidInputData(

0 commit comments

Comments
 (0)