From 24a457f320eef187d4f6d4022d0e63af6e14c48d Mon Sep 17 00:00:00 2001 From: Andrey Skvortsov Date: Mon, 13 Sep 2010 17:37:21 -0700 Subject: [PATCH] fix small bug in openmp of bilinear --- rtengine/rawimagesource.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/rawimagesource.cc b/rtengine/rawimagesource.cc index 3adf92c7e..a96a834e5 100644 --- a/rtengine/rawimagesource.cc +++ b/rtengine/rawimagesource.cc @@ -2430,7 +2430,7 @@ void RawImageSource::bilinear_demosaic() { int tid = omp_get_thread_num(); int nthreads = omp_get_num_threads(); - int blk = W/nthreads; + int blk = H/nthreads; int start = 0; if (tid == 0) start = 1;