diff --git a/embed.cpp b/embed.cpp index 07be44d..02b4139 100644 --- a/embed.cpp +++ b/embed.cpp @@ -660,13 +660,14 @@ void zhishujurec622(vector> A_nm, vector>& zmlist_se complex coefficient2 = conj_A_nm_value * RBF2_col[i]; for (int j = 0; j < M; j++) { - double oo_val = temp_oo_row(j); - double image_rr_val = mc * oo_val; + double image_rr_val = mc * temp_oo_row(j); double cos_oo_val = cos(image_rr_val); double sin_oo_val = sin(image_rr_val); complex front = coefficient1 * complex(cos_oo_val, sin_oo_val); complex behind = coefficient2 * complex(cos_oo_val, -sin_oo_val); result[i][j] += front + behind; + //result[i][j] += coefficient1 * complex(cos(mc * temp_oo_row(j)), sin(mc * temp_oo_row(j))) + + // coefficient2 * complex(cos(mc * temp_oo_row(j)), -sin(mc * temp_oo_row(j))); } } if (cnt_nj == 0) diff --git a/vcpkg.json b/vcpkg.json index ff2595e..a80b81b 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -7,6 +7,7 @@ "mpg123", "opencv4", "mp3lame", - "soxr" + "soxr", + "freetype" ] }