Skip to content

Commit 927750c

Browse files
committed
fix typo
1 parent e9d6ebf commit 927750c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SymbolicControlSystems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ Return a string with C-code for filtering a signal `u` through `G`.
273273
# Arguments:
274274
- `G`: A linear system
275275
- `simplify`: A function for symbolic simplification. You may try `Sympy.simplify`, but for large systems, this will take a long time to compute.
276-
- `cse`: Perform common subexpression elimination. This generally improvems the performance of the generated code.
276+
- `cse`: Perform common subexpression elimination. This generally improves the performance of the generated code.
277277
"""
278278
function ccode(G::TransferFunction; simplify = identity, cse = true)
279279
(G.nu == 1 && G.ny == 1) || throw(ArgumentError("C-code generation for transfer functions does not support multiple inputs or outputs, convert the transfer function to a statespace system using ss(G) and call ccode on that instead."))

0 commit comments

Comments
 (0)