This commit is contained in:
Simon Gardling 2022-03-30 09:32:28 -04:00
parent 0cce3773eb
commit 96d9d3b170
2 changed files with 1 additions and 1 deletions

View File

@ -446,7 +446,6 @@ impl MathApp {
max_x_changed | min_x_changed | integral_num_changed | riemann_changed; max_x_changed | min_x_changed | integral_num_changed | riemann_changed;
// Stores whether global config options changed // Stores whether global config options changed
// TODO: only take into account integral settings if integral is enabled (maybe)
let configs_changed = max_x_changed let configs_changed = max_x_changed
| min_x_changed | integral_num_changed | min_x_changed | integral_num_changed
| roots_toggled | extrema_toggled | roots_toggled | extrema_toggled

View File

@ -264,6 +264,7 @@ mod tests {
test_func_helper(func_str, false); test_func_helper(func_str, false);
} }
} }
/// Helps with tests of [`process_func_str`] /// Helps with tests of [`process_func_str`]
#[cfg(test)] #[cfg(test)]
fn test_process_helper(input: &str, expected: &str) { fn test_process_helper(input: &str, expected: &str) {