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/linearization.jl
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ function linearization_function(sys::AbstractSystem, inputs,
45
45
warn_empty_op =true,
46
46
kwargs...)
47
47
op =Dict(op)
48
-
ifisempty(op)
48
+
ifisempty(op)&& warn_empty_op
49
49
@warn"An empty operating point was passed to `linearization_function`. An operating point containing the variables that will be changed in `linearize` should be provided. Disable this warning by passing `warn_empty_op = false`."
0 commit comments