From 491091092df6b2e53d532cad2913efc5449f0822 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Mon, 18 Mar 2013 17:45:34 +0100 Subject: [PATCH] typo in several Sampler::clone() functions --- src/samplers/halton.cpp | 2 +- src/samplers/independent.cpp | 2 +- src/samplers/ldsampler.cpp | 2 +- src/samplers/sobol.cpp | 2 +- src/samplers/stratified.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/samplers/halton.cpp b/src/samplers/halton.cpp index b417ae8c..c44d05df 100644 --- a/src/samplers/halton.cpp +++ b/src/samplers/halton.cpp @@ -174,7 +174,7 @@ public: sampler->m_scramble = m_scramble; sampler->m_permutations = m_permutations; for (size_t i=0; irequest2DArray(m_req1D[i]); + sampler->request1DArray(m_req1D[i]); for (size_t i=0; irequest2DArray(m_req2D[i]); return sampler.get(); diff --git a/src/samplers/independent.cpp b/src/samplers/independent.cpp index f8c7cbcf..a76b8f39 100644 --- a/src/samplers/independent.cpp +++ b/src/samplers/independent.cpp @@ -73,7 +73,7 @@ public: sampler->m_sampleCount = m_sampleCount; sampler->m_random = new Random(m_random); for (size_t i=0; irequest2DArray(m_req1D[i]); + sampler->request1DArray(m_req1D[i]); for (size_t i=0; irequest2DArray(m_req2D[i]); return sampler.get(); diff --git a/src/samplers/ldsampler.cpp b/src/samplers/ldsampler.cpp index 01f18251..3a155d4f 100644 --- a/src/samplers/ldsampler.cpp +++ b/src/samplers/ldsampler.cpp @@ -138,7 +138,7 @@ public: sampler->m_samples2D[i] = new Point2[m_sampleCount]; } for (size_t i=0; irequest2DArray(m_req1D[i]); + sampler->request1DArray(m_req1D[i]); for (size_t i=0; irequest2DArray(m_req2D[i]); diff --git a/src/samplers/sobol.cpp b/src/samplers/sobol.cpp index ecf3e998..0d4d2cdd 100644 --- a/src/samplers/sobol.cpp +++ b/src/samplers/sobol.cpp @@ -138,7 +138,7 @@ public: sampler->m_arrayStartDim = m_arrayStartDim; sampler->m_arrayEndDim = m_arrayEndDim; for (size_t i=0; irequest2DArray(m_req1D[i]); + sampler->request1DArray(m_req1D[i]); for (size_t i=0; irequest2DArray(m_req2D[i]); return sampler.get(); diff --git a/src/samplers/stratified.cpp b/src/samplers/stratified.cpp index 1d1d883f..7ce6fdf5 100644 --- a/src/samplers/stratified.cpp +++ b/src/samplers/stratified.cpp @@ -138,7 +138,7 @@ public: sampler->m_permutations2D[i] = new uint32_t[m_sampleCount]; } for (size_t i=0; irequest2DArray(m_req1D[i]); + sampler->request1DArray(m_req1D[i]); for (size_t i=0; irequest2DArray(m_req2D[i]); return sampler.get();