Skip to content

Commit 7b32ec8

Browse files
committed
doc: minor corrections
1 parent bcb3821 commit 7b32ec8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/src/manual/linmpc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ The closed-loop simulation matches the results of the previous section, as expec
349349
can now generate the C code using:
350350

351351
```julia
352-
LinearMPC.codegen(c_mpc_d; dir="codegen", fname="mpc_funcs")
352+
LinearMPC.codegen(c_mpc_d; dir="codegen", fname="mpc_funcs");
353353
```
354354

355355
The three C functions to call at each control period are declared in the generated
@@ -383,7 +383,7 @@ int main(){
383383
}
384384
```
385385

386-
compile with using `gcc *.c -o main.bin` and run it with `./main.bin`. The printed `u` value
386+
compile it using `gcc *.c -o main.bin` and run it with `./main.bin`. The printed `u` value
387387
should be identical to:
388388

389389
```@example 1

0 commit comments

Comments
 (0)