Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ad48177

Browse files
committedApr 27, 2025·
refactor: rename generate_function to generate_rhs
1 parent 55e5cd7 commit ad48177

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/ModelingToolkit.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ export structural_simplify, expand_connections, linearize, linearization_functio
305305
LinearizationProblem
306306
export solve
307307

308-
export calculate_jacobian, generate_jacobian, generate_function, generate_custom_function,
308+
export calculate_jacobian, generate_jacobian, generate_rhs, generate_custom_function,
309309
generate_W
310310
export calculate_control_jacobian, generate_control_jacobian
311311
export calculate_tgrad, generate_tgrad

‎src/systems/abstractsystem.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ generate_function(sys::AbstractSystem, dvs = unknowns(sys), ps = parameters(sys)
132132
133133
Generate a function to evaluate the system's equations.
134134
"""
135-
function generate_function end
135+
function generate_rhs end
136136

137137
"""
138138
```julia

0 commit comments

Comments
 (0)
Please sign in to comment.