Skip to content

Commit 0298a95

Browse files
authored
Merge pull request #2253 from pepijndevos/pv/defaultarg
add default arguments to dummy derivatives
2 parents 80e1b95 + a8acb6a commit 0298a95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/structural_transformation/partial_state_selection.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ function dummy_derivative_graph!(state::TransformationState, jac = nothing;
175175
dummy_derivative_graph!(state.structure, var_eq_matching, jac, state_priority, log)
176176
end
177177

178-
function dummy_derivative_graph!(structure::SystemStructure, var_eq_matching, jac,
179-
state_priority, ::Val{log} = Val(false)) where {log}
178+
function dummy_derivative_graph!(structure::SystemStructure, var_eq_matching, jac = nothing,
179+
state_priority = nothing, ::Val{log} = Val(false)) where {log}
180180
@unpack eq_to_diff, var_to_diff, graph = structure
181181
diff_to_eq = invview(eq_to_diff)
182182
diff_to_var = invview(var_to_diff)

0 commit comments

Comments
 (0)