cleanup dependencies

This commit is contained in:
Simon Gardling
2023-11-20 12:40:41 -05:00
parent 0087bcf431
commit ac3054354c
5 changed files with 50 additions and 43 deletions

View File

@@ -418,12 +418,10 @@ impl FunctionEntry {
);
}
if self.nth_derviative && let Some(ref nth_derviative) = self.nth_derivative_data {
plot_ui.line(
nth_derviative.clone()
.to_line()
.color(Color32::DARK_RED)
);
if self.nth_derviative
&& let Some(ref nth_derviative) = self.nth_derivative_data
{
plot_ui.line(nth_derviative.clone().to_line().color(Color32::DARK_RED));
}
// Plot integral data