Skip to content

Commit

Permalink
fix: warnings from new version of gfortran
Browse files Browse the repository at this point in the history
  • Loading branch information
everythingfunctional committed Jun 9, 2022
1 parent 63fcf6a commit e9bc905
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fpm.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "garden"
version = "1.0.2"
version = "1.0.3"
license = "MIT"
author = "Brad Richardson"
maintainer = "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion src/garden/result_m.f90
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pure function failure_description(self, colorize) result(description)
if (self%passed()) then
description = ""
else
failed = .not.self%results%passed()
allocate(failed, source = .not.self%results%passed())
num_failed = count(failed)
j = 1
allocate(failed_messages(num_failed))
Expand Down
2 changes: 1 addition & 1 deletion src/garden/test_collection_result_m.f90
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pure recursive function failure_description( &
if (self%passed()) then
description = ""
else
failed = [(.not.self%results(i)%passed(), i = 1, size(self%results))]
allocate(failed, source = [(.not.self%results(i)%passed(), i = 1, size(self%results))])
num_failed = count(failed)
j= 1
allocate(failed_messages(num_failed))
Expand Down

0 comments on commit e9bc905

Please sign in to comment.