Skip to content

Commit 595e1a6

Browse files
committed
[oneAPI samples][Fourier correlation] Fixing typo in comment
1 parent 59eb6be commit 595e1a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/oneMKL/fourier_correlation/fcorr_2d_usm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ int main(int argc, char **argv) {
148148
// n_rows * n_cols real values and n_rows * (n_cols / 2 + 1) complex values,
149149
// respectively (for the DFT-based calculations).
150150
// Note: 2 * (n_cols / 2 + 1) > n_cols for all n_cols > 0, so
151-
// max(n_rows * n_cols real,
151+
// max(n_rows * n_cols,
152152
// n_rows * (n_cols / 2 + 1) * 2) == n_rows * (n_cols / 2 + 1) * 2
153153
// since n_rows > 0
154154
auto img1 = sycl::malloc_shared<float>(n_rows * (n_cols / 2 + 1) * 2, Q);

0 commit comments

Comments
 (0)