Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.core
Commits
c3b48998
Commit
c3b48998
authored
Oct 24, 2014
by
Manuel Günther
Browse files
Trial to track infinite loop on travis.
parent
c06156bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/core/include/bob.core/boost/normal_distribution.hpp
View file @
c3b48998
...
...
@@ -212,8 +212,10 @@ struct unit_normal_distribution
RealType
operator
()(
Engine
&
eng
)
{
const
double
*
const
table_x
=
normal_table
<
double
>::
table_x
;
const
double
*
const
table_y
=
normal_table
<
double
>::
table_y
;
std
::
cout
<<
"Enter"
<<
std
::
endl
;
for
(;;)
{
std
::
pair
<
RealType
,
int
>
vals
=
generate_int_float_pair
<
RealType
,
8
>
(
eng
);
std
::
cout
<<
vals
.
first
<<
", "
<<
vals
.
second
<<
std
::
endl
;
int
i
=
vals
.
second
;
int
sign
=
(
i
&
1
)
*
2
-
1
;
i
=
i
>>
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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