Skip to content

Commit 0e378f8

Browse files
committed
fix
1 parent cd9dcdb commit 0e378f8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/src/API/System.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ ModelingToolkit.eqtype_supports_collect_vars
214214
ModelingToolkit.modified_unknowns!
215215
```
216216

217-
## Namepsace manipulation
217+
## Namespace manipulation
218218

219219
ModelingToolkit namespaces variables from subsystems when using them in a parent system to
220220
disambiguate from identically named variables in other subsystems or the parent system. The

src/systems/clock_inference.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ function split_system(ci::ClockInference{S}) where {S}
359359
resize_or_push!(cid_to_var, i, cid)
360360
end
361361

362-
# breaks the system up into a continous and 0 or more discrete systems
362+
# breaks the system up into a continuous and 0 or more discrete systems
363363
tss = similar(cid_to_eq, S)
364364
for (id, (ieqs, iieqs, ivars)) in enumerate(zip(cid_to_eq, cid_to_init_eq, cid_to_var))
365365
ts_i = system_subset(ts, ieqs, iieqs, ivars)
@@ -369,7 +369,7 @@ function split_system(ci::ClockInference{S}) where {S}
369369
end
370370
tss[id] = ts_i
371371
end
372-
# put the continous system at the back
372+
# put the continuous system at the back
373373
if continuous_id != 0
374374
tss[continuous_id], tss[end] = tss[end], tss[continuous_id]
375375
inputs[continuous_id], inputs[end] = inputs[end], inputs[continuous_id]

src/systems/systemstructure.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ function mtkcompile!(state::TearingState; simplify = false,
931931
end
932932
# split_system returns one or two systems and the inputs for each
933933
# mod clock inference to be binary
934-
# if it's continous keep going, if not then error unless given trait impl in additional passes
934+
# if it's continuous keep going, if not then error unless given trait impl in additional passes
935935
ci = ModelingToolkit.ClockInference(state)
936936
ci = ModelingToolkit.infer_clocks!(ci)
937937
time_domains = merge(Dict(state.fullvars .=> ci.var_domain),

0 commit comments

Comments
 (0)