Skip to content

Commit 78f50ad

Browse files
committed
fix
1 parent b3075ff commit 78f50ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ode_system.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ function RobustAndOptimalControl.named_ss(
215215
lsys = ss(matrices...)
216216
end
217217
# If simple_infeigs=false, the system might have been reduced and the state names might not match the original system.
218-
x_names = simple_infeigs ? symstr.(unknowns(ssys)) : [string(nameof(sys))*"_x$i" for i in 1:lsys.nx]
218+
x_names = simple_infeigs ? symstr.(unknowns(ssys)) : [Symbol(string(nameof(sys))*"_x$i") for i in 1:lsys.nx]
219219
named_ss(
220220
lsys;
221221
x = x_names,
@@ -325,7 +325,7 @@ function named_sensitivity_function(
325325
else
326326
lsys = ss(matrices...)
327327
end
328-
x_names = simple_infeigs ? symstr.(unknowns(ssys)) : [string(nameof(sys))*"_x$i" for i in 1:lsys.nx]
328+
x_names = simple_infeigs ? symstr.(unknowns(ssys)) : [Symbol(string(nameof(sys))*"_x$i") for i in 1:lsys.nx]
329329
named_ss(
330330
lsys;
331331
x = x_names,

0 commit comments

Comments
 (0)