rustfmt
This commit is contained in:
parent
57e3b0c4ca
commit
f30acff409
@ -93,8 +93,11 @@ impl Function {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Makes sure proper arguments are passed when integral is enabled
|
// Makes sure proper arguments are passed when integral is enabled
|
||||||
if integral && (integral_min_x != Some(self.integral_min_x))
|
if integral
|
||||||
| (integral_max_x != Some(self.integral_max_x)) | (integral_num != Some(self.integral_num)) {
|
&& (integral_min_x != Some(self.integral_min_x))
|
||||||
|
| (integral_max_x != Some(self.integral_max_x))
|
||||||
|
| (integral_num != Some(self.integral_num))
|
||||||
|
{
|
||||||
self.front_cache = None;
|
self.front_cache = None;
|
||||||
self.integral_min_x = integral_min_x.expect("integral_min_x is None");
|
self.integral_min_x = integral_min_x.expect("integral_min_x is None");
|
||||||
self.integral_max_x = integral_max_x.expect("integral_max_x is None");
|
self.integral_max_x = integral_max_x.expect("integral_max_x is None");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user