reorder if statement
This commit is contained in:
parent
c292c8e72a
commit
cafc8c7285
@ -248,12 +248,12 @@ impl MathApp {
|
||||
});
|
||||
|
||||
let proc_func_str = add_asterisks(self.func_strs[i].clone());
|
||||
if (proc_func_str != function.get_func_str())
|
||||
| self.last_error.iter().any(|ele| ele.0 == i)
|
||||
| integral_toggle
|
||||
if integral_toggle
|
||||
| derivative_toggle
|
||||
| max_x_changed
|
||||
| min_x_changed
|
||||
| (proc_func_str != function.get_func_str())
|
||||
| self.last_error.iter().any(|ele| ele.0 == i)
|
||||
{
|
||||
// let proc_func_str = self.func_strs[i].clone();
|
||||
let func_test_output = test_func(&proc_func_str);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user