Skip to content

Commit

Permalink
Update test/expression_manipulation_test.jl
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
lbonaldo and github-actions[bot] authored Nov 25, 2024
1 parent 2d359e7 commit 166b7af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/expression_manipulation_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ let
@test all(EP[:large_expr][:] .== 18.0)

# Test add_similar_to_expression! with AbstractArray{Number}
@expression(EP, eArr1[i = 1:100, j = 1:50], i*10.0+j*10.0)
@expression(EP, eArr2[i = 1:100, j = 1:50], -(i*10.0+j*10.0))
@expression(EP, eArr1[i = 1:100, j = 1:50], i * 10.0+j * 10.0)
@expression(EP, eArr2[i = 1:100, j = 1:50], -(i * 10.0 + j * 10.0))
GenX.add_similar_to_expression!(EP[:eArr1], EP[:eArr2])
@test all(EP[:eArr1][:] .== 0.0)

Expand Down

0 comments on commit 166b7af

Please sign in to comment.