You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/fit_params.h
+1-1
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ typedef struct fit_params {
22
22
fit_variable*vars; /* Note that this is NOT an array of pointers. It has n elements. */
23
23
} fit_params;
24
24
25
-
fit_params*fit_params_new();
25
+
fit_params*fit_params_new(void);
26
26
voidfit_params_free(fit_params*p);
27
27
intfit_params_add_parameter(fit_params*p, fit_variable_typetype, double*value, constchar*name, constchar*unit, doubleunit_factor, size_ti_det); /* Pointer to parameter to be fitted (value) is accessed during fitting (read, write). No guarantees that it stays accessible after the fit is over and user decides to change something! */
intjabs_unit_convert(constjibal_units*units, chartype, constchar*str, double*out); /* Wrapper for jibal_unit_convert with error reporting using jabs_message and sanity checker (jabs_unit_sanity_check()). Negative values are errors that should not be ignored. */
41
41
intjabs_unit_sanity_check(doublevalue, inttype); /* returns 1 if no issue was found, returns 0 and prints a warning via jabs_message() if value is suspicious, and returns -1 for really crazy stuff */
0 commit comments