Skip to content

Commit

Permalink
test: fix typo in variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Jun 6, 2024
1 parent 2f1cd8d commit 54aa0b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/downstream/modelingtoolkit_remake.jl
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,13 @@ for (sys, prob) in zip(syss, probs)
# Test u0 dependent on p and p dependent on u0
prob2 = @inferred baseType remake(prob; u0 = [x => 0.5σ + 1], p ==> 0.5x + 1])
@test ugetter(prob2) [15.0, 0.0, 0.0]
@test pgeter(prob2) [28.0, 8.5, 10.0]
@test pgetter(prob2) [28.0, 8.5, 10.0]
prob2 = @inferred baseType remake(prob; u0 = [sys.x => 0.5σ + 1], p = [sys.β => 0.5x + 1])
@test ugetter(prob2) [15.0, 0.0, 0.0]
@test pgeter(prob2) [28.0, 8.5, 10.0]
@test pgetter(prob2) [28.0, 8.5, 10.0]
prob2 = @inferred baseType remake(prob; u0 = [:x => 0.5σ + 1], p = [ => 0.5x + 1])
@test ugetter(prob2) [15.0, 0.0, 0.0]
@test pgeter(prob2) [28.0, 8.5, 10.0]
@test pgetter(prob2) [28.0, 8.5, 10.0]
end

@variables ud(t) xd(t) yd(t)
Expand Down

0 comments on commit 54aa0b9

Please sign in to comment.