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
MPIBP-Hummer
BioEM
Commits
7c401d9e
Commit
7c401d9e
authored
Aug 10, 2017
by
Luka Stanisic
Browse files
bugfix: the range for Y should be [0,maxDisplaceCenter] instead of [0,maxDisplaceCenter)
parent
d48dcc78
Pipeline
#16407
passed with stage
in 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bioem_algorithm.h
View file @
7c401d9e
...
...
@@ -174,7 +174,7 @@ __device__ static inline void doRefMapFFT(const int iRefMap, const int iOrient,
for
(
int
cent_x
=
param
.
NumberPixels
-
param
.
maxDisplaceCenter
;
cent_x
<
param
.
NumberPixels
;
cent_x
=
cent_x
+
param
.
GridSpaceCenter
)
{
for
(
int
cent_y
=
0
;
cent_y
<
param
.
maxDisplaceCenter
;
cent_y
=
cent_y
+
param
.
GridSpaceCenter
)
for
(
int
cent_y
=
0
;
cent_y
<
=
param
.
maxDisplaceCenter
;
cent_y
=
cent_y
+
param
.
GridSpaceCenter
)
{
calProb
(
iRefMap
,
iOrient
,
iConv
,
amp
,
pha
,
env
,
sumC
,
sumsquareC
,
(
myfloat_t
)
lCC
[
cent_x
*
param
.
NumberPixels
+
cent_y
]
/
(
myfloat_t
)
(
param
.
NumberPixels
*
param
.
NumberPixels
),
cent_x
-
param
.
NumberPixels
,
cent_y
,
pProb
,
param
,
RefMap
);
}
...
...
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