Skip to content

Commit

Permalink
The P^{+} and P^{-} values saved in PREFIX.sps were opposite in the p…
Browse files Browse the repository at this point in the history
…revious versions.
  • Loading branch information
ttadano committed Jun 12, 2017
1 parent f5cd8d4 commit 14693c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anphon/phonon_dos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@ void Dos::calc_total_scattering_phase_space(double **omega,
sps_sum1 += multi * sps_tmp1;
sps_sum2 += multi * sps_tmp2;

ret_mode[ik][is][0] = sps_tmp2;
ret_mode[ik][is][1] = sps_tmp1;
ret_mode[ik][is][0] = sps_tmp1;
ret_mode[ik][is][1] = sps_tmp2;
}
}

Expand Down

0 comments on commit 14693c4

Please sign in to comment.