Skip to content

Commit

Permalink
Local changes at work computer
Browse files Browse the repository at this point in the history
  • Loading branch information
grofz committed Aug 17, 2023
1 parent 7ef4ae7 commit cd6d8e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ vpath %.f90 test
vpath %.f90 example

FC = gfortran
FFLAGS = -Og -std=f2018 -Wall -Wextra -pedantic -fimplicit-none -fcheck=all -fbacktrace
FFLAGS = -ggdb -std=f2018 -Wall -Wextra -pedantic -fimplicit-none -fcheck=all -fbacktrace
#FFLAGS = -O3 -std=f2018 -Wall -Wextra -pedantic -fimplicit-none -fbacktrace
COMPILE = $(FC) $(FFLAGS) -c
MAKEMOD = $(FC) $(FFLAGS) -fsyntax-only -c
Expand Down
10 changes: 5 additions & 5 deletions test/check.f90
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ subroutine test2()
! Working with an empty list
head => null()
head => dllnode_reverse(head)
print '("Is valid an empty node ? ",L)', dllnode_validate(head)
print '("Is valid an empty node ? ",L2)', dllnode_validate(head)


! Add nodes to the list
Expand All @@ -166,18 +166,18 @@ subroutine test2()
head1)
head => head1
print '("Head export = ",*(i0,1x))', dllnode_export(head)
print '("Is list valid? ",L)', dllnode_validate(head)
print '("Is list valid? ",L2)', dllnode_validate(head)
if (i==1) then
head => dllnode_reverse(head)
print '("Is list valid? ",L)', dllnode_validate(head)
print '("Is list valid? ",L2)', dllnode_validate(head)
print '("After reverse = ",*(i0,1x))', dllnode_export(head)
else if (i==2) then
head => dllnode_reverse(head)
print '("Is list valid? ",L)', dllnode_validate(head)
print '("Is list valid? ",L2)', dllnode_validate(head)
print '("After reverse = ",*(i0,1x))', dllnode_export(head)
else if (i==MAXN) then
head => dllnode_reverse(head)
print '("Is list valid? ",L)', dllnode_validate(head)
print '("Is list valid? ",L2)', dllnode_validate(head)
print '("After reverse = ",*(i0,1x))', dllnode_export(head)
end if
end do
Expand Down

0 comments on commit cd6d8e7

Please sign in to comment.