From ab3c187ff95ba180c13c71be7e6c8b6bb2d7c68f Mon Sep 17 00:00:00 2001 From: hyper <2537534024@qq.com> Date: Sun, 8 Jun 2025 09:47:08 +0800 Subject: [PATCH] 'feat-0608' --- embed.cpp | 5 +++-- vcpkg.json | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) 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" ] }