clippy
This commit is contained in:
@@ -336,8 +336,7 @@ impl FunctionEntry {
|
||||
}
|
||||
|
||||
// Plot derivative data
|
||||
if self.derivative {
|
||||
if !self.derivative_data.is_empty() {
|
||||
if self.derivative && !self.derivative_data.is_empty() {
|
||||
plot_ui.line(
|
||||
self.derivative_data
|
||||
.to_line()
|
||||
@@ -345,7 +344,6 @@ impl FunctionEntry {
|
||||
.name(derivative_str),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// Plot extrema points
|
||||
if settings.do_extrema {
|
||||
|
||||
Reference in New Issue
Block a user