Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix an unused variable that was creating a SEGFAULT #290

Merged

Conversation

giovannipizzi
Copy link
Member

As reported by Nicolas Tancogne-Dejean,
the bnddataunit(n) = io_file_unit() line
was creating a SEGFAULT because the array
was not allocated. But anyway, bnddataunit
is not really used in the code.

As reported by Nicolas Tancogne-Dejean,
the bnddataunit(n) = io_file_unit() line
was creating a SEGFAULT because the array
was not allocated. But anyway, bnddataunit
is not really used in the code.
@codecov
Copy link

codecov bot commented Sep 12, 2019

Codecov Report

Merging #290 into develop will decrease coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop    #290      +/-   ##
==========================================
- Coverage    65.65%   65.6%   -0.05%     
==========================================
  Files           29      29              
  Lines        17984   17938      -46     
==========================================
- Hits         11807   11768      -39     
+ Misses        6177    6170       -7
Impacted Files Coverage Δ
src/postw90/kslice.F90 68.95% <ø> (+0.06%) ⬆️
src/io.F90 60.46% <0%> (-9.89%) ⬇️
src/postw90/geninterp.F90 74.83% <0%> (-0.17%) ⬇️
src/plot.F90 49.45% <0%> (-0.06%) ⬇️
src/postw90/get_oper.F90 64.58% <0%> (-0.05%) ⬇️
src/w90chk2chk.F90 47.32% <0%> (-0.02%) ⬇️
src/disentangle.F90 79.91% <0%> (-0.02%) ⬇️
src/transport.F90 0.59% <0%> (ø) ⬆️
src/wannierise.F90 81.72% <0%> (+0.05%) ⬆️
src/postw90/postw90_common.F90 68.69% <0%> (+0.05%) ⬆️
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c658e7e...bcb1648. Read the comment docs.

@jryates jryates merged commit 7e02e02 into wannier-developers:develop Sep 22, 2019
@giovannipizzi giovannipizzi deleted the fix_unused_bnddataunit branch September 22, 2019 20:34
manxkim pushed a commit to manxkim/wannier90 that referenced this pull request Jan 10, 2021
…ed_bnddataunit

Fix an unused variable that was creating a SEGFAULT
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants