Skip to content

Commit

Permalink
Eliminated use of undefined variable
Browse files Browse the repository at this point in the history
Apparently not detected in the compiler settings I used.  Thanks to @vickysharma0812 for spotting this.
  • Loading branch information
tclune authored Sep 28, 2021
1 parent eae49e1 commit df02c37
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Basic/tests/test_failing.pf
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ contains
@test
subroutine test_fail_array()

real :: x(3)
real :: y(3)
y = square(x)
@assertEqual([1,4,9], square([1.,2.1,3.]), tolerance=0.1, message='intentionally failing test')
end subroutine test_fail_array

Expand Down

0 comments on commit df02c37

Please sign in to comment.