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
Oleksii Turkot
CrystFEL
Commits
36972a35
Commit
36972a35
authored
Sep 29, 2011
by
Thomas White
Browse files
Fix stack corruption
parent
c61bb4fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/hrs-scaling.h
View file @
36972a35
...
...
@@ -21,7 +21,7 @@
#include
"image.h"
extern
RefList
*
scale_intensities
(
struct
image
*
images
,
int
n
,
RefList
*
reference
);
RefList
*
reference
,
int
n_threads
);
#endif
/* HRS_SCALING_H */
src/partialator.c
View file @
36972a35
...
...
@@ -492,7 +492,8 @@ int main(int argc, char *argv[])
/* Make initial estimates */
STATUS
(
"Performing initial scaling.
\n
"
);
full
=
scale_intensities
(
images
,
n_usable_patterns
,
reference
);
full
=
scale_intensities
(
images
,
n_usable_patterns
,
reference
,
nthreads
);
sr
=
sr_titlepage
(
images
,
n_usable_patterns
,
"scaling-report.pdf"
,
infile
,
cmdline
);
...
...
@@ -530,7 +531,7 @@ int main(int argc, char *argv[])
/* Re-estimate all the full intensities */
reflist_free
(
full
);
full
=
scale_intensities
(
images
,
n_usable_patterns
,
reference
);
reference
,
nthreads
);
sr_iteration
(
sr
,
i
+
1
,
images
,
n_usable_patterns
,
full
);
...
...
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