Fixes compilation on Linux, issue 1708
This commit is contained in:
parent
fafc3d85b5
commit
00d63fc250
@ -203,8 +203,8 @@ namespace rtengine {
|
|||||||
// these are needed only for creation of the plans and will be freed before entering the parallel loop
|
// these are needed only for creation of the plans and will be freed before entering the parallel loop
|
||||||
float * Lbloxtmp;
|
float * Lbloxtmp;
|
||||||
float * fLbloxtmp;
|
float * fLbloxtmp;
|
||||||
Lbloxtmp = fftwf_alloc_real(max_numblox_W*TS*TS);
|
Lbloxtmp = (float*) fftwf_malloc(max_numblox_W*TS*TS*sizeof (float));
|
||||||
fLbloxtmp = fftwf_alloc_real(max_numblox_W*TS*TS);
|
fLbloxtmp = (float*) fftwf_malloc(max_numblox_W*TS*TS*sizeof (float));
|
||||||
|
|
||||||
int nfwd[2]={TS,TS};
|
int nfwd[2]={TS,TS};
|
||||||
|
|
||||||
@ -238,8 +238,8 @@ namespace rtengine {
|
|||||||
#pragma omp critical
|
#pragma omp critical
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
Lblox = fftwf_alloc_real(max_numblox_W*TS*TS);
|
Lblox = (float*) fftwf_malloc(max_numblox_W*TS*TS*sizeof(float));
|
||||||
fLblox = fftwf_alloc_real(max_numblox_W*TS*TS);
|
fLblox = (float*) fftwf_malloc(max_numblox_W*TS*TS*sizeof(float));
|
||||||
}
|
}
|
||||||
#ifdef _OPENMP
|
#ifdef _OPENMP
|
||||||
#pragma omp for schedule(dynamic) collapse(2)
|
#pragma omp for schedule(dynamic) collapse(2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user