]> foleosoft.com Git - QAnsel.git/commitdiff
Sun Mar 3 11:34:32 PM EST 2024
authormiha-q <>
Mon, 4 Mar 2024 04:34:32 +0000 (23:34 -0500)
committermiha-q <>
Mon, 4 Mar 2024 04:34:32 +0000 (23:34 -0500)
src/QAnsel.c

index add65cc78d71181a422722279e46ff96e495bdcc..c1a5f33d2f7fc5f2d4dbfd6e13d27509ad518283 100644 (file)
@@ -256,7 +256,7 @@ void qansel_instruction(cpx_mtx_t* stateVector, uint8_t qubitCount, QInstr* inst
 
        cpx_mtx_init(&tmp, stateVector->rows, stateVector->cols);
        #ifdef GPU_ENABLED
-       if (USE_GPU && (filters.cols >= 512 || stateVector->cols >= 512))
+       if (USE_GPU && (filter.cols >= 512 || stateVector->cols >= 512))
        {
                GPU_mmul
                (