Skip to content

Commit a628636

Browse files
committed
improve model formula notations
1 parent b37abbb commit a628636

6 files changed

Lines changed: 414 additions & 73 deletions

File tree

src/app.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ use self::status::StatusMessage;
9595
#[cfg(not(target_arch = "wasm32"))]
9696
use self::types::dialog_directory_from_path;
9797
use self::types::{
98-
ExtendedMetrics, FormulaSvgCache, ModelFormulaInfo, ParamInitMethod, PlotTool,
99-
SampledCurveCache, SprayBrush, UiLanguage, params_to_input_strings,
98+
ExtendedMetrics, FormulaReferenceSection, FormulaSvgCache, ModelFormulaInfo, ParamInitMethod,
99+
PlotTool, SampledCurveCache, SprayBrush, UiLanguage, params_to_input_strings,
100100
};
101101
use crate::domain::{
102102
AdamConfig, CurveFamily, CurveParams, FitResult, LbfgsConfig, NelderMeadConfig, NewtonCgConfig,

src/app/bootstrap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ impl Default for CurveFitApp {
121121
result_metrics: None,
122122
residual_plot_points: Vec::new(),
123123
spline_plot_curve: None,
124-
formula_svg_cache: None,
124+
formula_svg_cache: Vec::new(),
125125
sampled_curve_cache: None,
126126
iteration_diagnostics: IterationDiagnostics::default(),
127127
status: Some(StatusMessage::Ready),

0 commit comments

Comments
 (0)