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
6570641e
Commit
6570641e
authored
Nov 26, 2009
by
Thomas White
Browse files
A missing return value and a missing initialisation
parent
7b8844a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/pattern_sim.c
View file @
6570641e
...
...
@@ -201,4 +201,6 @@ int main(int argc, char *argv[])
if
(
n_images
&&
(
number
>=
n_images
)
)
done
=
1
;
}
while
(
!
done
);
return
0
;
}
src/utils.c
View file @
6570641e
...
...
@@ -77,7 +77,7 @@ void progress_bar(int val, int total, const char *text)
double
poisson_noise
(
double
expected
)
{
double
L
;
int
k
;
int
k
=
0
;
double
p
=
1
.
0
;
L
=
exp
(
-
expected
);
...
...
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