Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Reinecke
ducc
Commits
051b454d
Commit
051b454d
authored
Apr 11, 2020
by
Martin Reinecke
Browse files
fixes
parent
638f0a2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
pyinterpol_ng/interpol_ng.h
View file @
051b454d
...
...
@@ -216,14 +216,14 @@ template<typename T> class Interpolator
a2
(
l
,
m
)
+=
slm
[
j
](
l
,
m
)
*
tmp
.
imag
();
}
}
}
}
auto
m1
=
cube
.
template
subarray
<
2
>({
supp
,
supp
,
2
*
k
-
1
,
icomp
},{
ntheta
,
nphi
,
0
,
0
});
auto
m2
=
cube
.
template
subarray
<
2
>({
supp
,
supp
,
2
*
k
,
icomp
},{
ntheta
,
nphi
,
0
,
0
});
sharp_alm2map_spin
(
k
,
a1
.
Alms
().
data
(),
a2
.
Alms
().
data
(),
m1
.
vdata
(),
m2
.
vdata
(),
*
ginfo
,
*
ainfo
,
0
,
nthreads
);
correct
(
m1
,
k
);
correct
(
m2
,
k
);
}
auto
m1
=
cube
.
template
subarray
<
2
>({
supp
,
supp
,
2
*
k
-
1
,
icomp
},{
ntheta
,
nphi
,
0
,
0
});
auto
m2
=
cube
.
template
subarray
<
2
>({
supp
,
supp
,
2
*
k
,
icomp
},{
ntheta
,
nphi
,
0
,
0
});
sharp_alm2map_spin
(
k
,
a1
.
Alms
().
data
(),
a2
.
Alms
().
data
(),
m1
.
vdata
(),
m2
.
vdata
(),
*
ginfo
,
*
ainfo
,
0
,
nthreads
);
correct
(
m1
,
k
);
correct
(
m2
,
k
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment