UI improvements
This commit is contained in:
@@ -32,7 +32,7 @@ impl FunctionOutput {
|
||||
#[inline]
|
||||
pub fn has_integral(&self) -> bool {
|
||||
match &self.front {
|
||||
Some(x) => true,
|
||||
Some(_) => true,
|
||||
None => false,
|
||||
}
|
||||
}
|
||||
@@ -123,6 +123,10 @@ impl Function {
|
||||
self.max_x = max_x;
|
||||
}
|
||||
|
||||
if integral != self.integral {
|
||||
self.integral = integral;
|
||||
}
|
||||
|
||||
// Makes sure proper arguments are passed when integral is enabled
|
||||
if integral {
|
||||
if integral_min_x.is_none() {
|
||||
|
||||
Reference in New Issue
Block a user