Skip to content

Commit ad450d9

Browse files
committed
remove redundant data.validate calls
1 parent 40345e4 commit ad450d9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/n/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ where
172172
strategy,
173173
extrapolate,
174174
};
175-
interpolator.validate()?;
175+
interpolator.check_extrapolate(&extrapolate)?;
176176
Ok(interpolator)
177177
}
178178
}

src/one/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ where
107107
strategy,
108108
extrapolate,
109109
};
110-
interpolator.validate()?;
110+
interpolator.check_extrapolate(&extrapolate)?;
111111
Ok(interpolator)
112112
}
113113
}

src/three/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ where
126126
strategy,
127127
extrapolate,
128128
};
129-
interpolator.validate()?;
129+
interpolator.check_extrapolate(&extrapolate)?;
130130
Ok(interpolator)
131131
}
132132
}

src/two/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ where
112112
strategy,
113113
extrapolate,
114114
};
115-
interpolator.validate()?;
115+
interpolator.check_extrapolate(&extrapolate)?;
116116
Ok(interpolator)
117117
}
118118
}

0 commit comments

Comments
 (0)