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
509f08dc
Commit
509f08dc
authored
Jun 05, 2010
by
Thomas White
Browse files
pattern_sim: Fix uninitialised stuff
parent
60c2e01b
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/pattern_sim.c
View file @
509f08dc
...
...
@@ -325,6 +325,8 @@ int main(int argc, char *argv[])
image
.
filename
=
NULL
;
image
.
features
=
NULL
;
image
.
flags
=
NULL
;
image
.
f0
=
1
.
0
;
image
.
f0_available
=
1
;
#include
"geometry-lcls.tmp"
...
...
src/peaks.c
View file @
509f08dc
...
...
@@ -533,7 +533,7 @@ void output_intensities(struct image *image, UnitCell *cell,
printf
(
"Orientation (wxyz): %7.5f %7.5f %7.5f %7.5f
\n
"
,
image
->
orientation
.
w
,
image
->
orientation
.
x
,
image
->
orientation
.
y
,
image
->
orientation
.
z
);
cell_get_parameters
(
image
->
indexed_
cell
,
&
a
,
&
b
,
&
c
,
&
al
,
&
be
,
&
ga
);
cell_get_parameters
(
cell
,
&
a
,
&
b
,
&
c
,
&
al
,
&
be
,
&
ga
);
printf
(
"Cell parameters %7.5f %7.5f %7.5f nm, %7.5f %7.5f %7.5f deg
\n
"
,
a
*
1.0e9
,
b
*
1.0e9
,
c
*
1.0e9
,
rad2deg
(
al
),
rad2deg
(
be
),
rad2deg
(
ga
));
...
...
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