Skip to content

Commit

Permalink
Merge pull request #705 from AayushSabharwal/as/hotfix
Browse files Browse the repository at this point in the history
test: fix typo in variable name
  • Loading branch information
ChrisRackauckas authored Jun 6, 2024
2 parents 2f1cd8d + 54aa0b9 commit 6b220f9
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 6b220f9

Please sign in to comment.