Skip to content

Commit

Permalink
modernize definition of t
Browse files Browse the repository at this point in the history
  • Loading branch information
jaakkor2 authored Nov 11, 2024
1 parent 88077dd commit 362b137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ The following is the [RC Circuit Demonstration](https://docs.sciml.ai/ModelingTo
using ModelingToolkit, OrdinaryDiffEq, Plots
using ModelingToolkitStandardLibrary.Electrical
using ModelingToolkitStandardLibrary.Blocks: Constant
using ModelingToolkit: t_nounits as t

R = 1.0
C = 1.0
V = 1.0
@variables t
systems = @named begin
resistor = Resistor(R = R)
capacitor = Capacitor(C = C, v = 0.0)
Expand Down

0 comments on commit 362b137

Please sign in to comment.