mirror of https://github.com/phonopy/phono3py.git
Fix comment in reciprocal_to_normal.c
This commit is contained in:
parent
8bf63c030c
commit
2d30f9baf0
|
@ -75,7 +75,7 @@ static lapack_complex_double get_pre_phase_factor(
|
|||
static lapack_complex_double sum_lapack_complex_double(lapack_complex_double a,
|
||||
lapack_complex_double b);
|
||||
|
||||
/* fc3_reciprocal[num_patom, num_patom, num_patom, 3, 3, 3] */
|
||||
/* fc3_reciprocal[num_patom, 3, num_patom, 3, num_patom, 3] */
|
||||
void r2r_real_to_reciprocal(lapack_complex_double *fc3_reciprocal,
|
||||
const double q_vecs[3][3], const double *fc3,
|
||||
const int64_t is_compact_fc3,
|
||||
|
|
|
@ -285,7 +285,8 @@ static double get_fc3_sum_blas_like(const lapack_complex_double *e0,
|
|||
num_band * num_band);
|
||||
|
||||
for (i = 0; i < num_band; i++) {
|
||||
memcpy(e_12 + i * num_band, e2, 16 * num_band);
|
||||
memcpy(e_12 + i * num_band, e2,
|
||||
sizeof(lapack_complex_double) * num_band);
|
||||
for (j = 0; j < num_band; j++) {
|
||||
e_12[i * num_band + j] =
|
||||
phonoc_complex_prod(e1[i], e_12[i * num_band + j]);
|
||||
|
|
Loading…
Reference in New Issue