Skip to content

Commit

Permalink
Fix incorrect free of sps_mode in phonon_dos.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ttadano committed Sep 7, 2018
1 parent c6d07e3 commit 1c0d4e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion anphon/Makefile.osx_gcc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# We recommend to use Intel c++ compiler.
#-----------------------------------------------

MPICXX = g++-7
MPICXX = g++-8
CXXFLAGS = -O3 -std=c++11 -fopenmp
INCLUDE = -I../include -I$(HOME)/include -I/usr/local/opt/openmpi/include

Expand Down
2 changes: 1 addition & 1 deletion anphon/phonon_dos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void Dos::deallocate_variables()
memory->deallocate(sps3_mode);
}
if (sps3_with_bose) {
memory->deallocate(sps3_mode);
memory->deallocate(sps3_with_bose);
}
if (kmap_irreducible) {
memory->deallocate(kmap_irreducible);
Expand Down

0 comments on commit 1c0d4e2

Please sign in to comment.