Skip to content

Commit 4cee685

Browse files
committed
fixed use in fortran sources, also added test to get error ASAP
Signed-off-by: Nick Papior <nickpapior@gmail.com>
1 parent 09084de commit 4cee685

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ jobs:
151151
run: |
152152
sgeom --help
153153
stoolbox atom-plot --help
154+
# This should detect if the fortran sources are *correct*
155+
python3 -c 'import sisl.io.siesta._siesta'
154156
155157
- name: sisl tests
156158
env:

src/sisl/io/siesta/_src/hsx_read.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,8 @@ subroutine read_hsx_k(fname, kcell, kdispl)
329329
end subroutine read_hsx_k
330330

331331
subroutine read_hsx_k2(fname, kcell, kdispl)
332+
use io_m, only: open_file, close_file
333+
use io_m, only: iostat_update
332334

333335
implicit none
334336

src/sisl/io/siesta/_src/tshs_read.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ subroutine read_tshs_ef(fname, Ef)
140140
end subroutine read_tshs_ef
141141

142142
subroutine read_tshs_k(fname, kcell, kdispl)
143+
use io_m, only: open_file, close_file
144+
use io_m, only: iostat_update
143145

144146
implicit none
145147

0 commit comments

Comments
 (0)