Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
10829e4d
Commit
10829e4d
authored
Dec 10, 2011
by
Davis King
Browse files
fixed some typos in assert messages
parent
87292660
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
dlib/bayes_utils/bayes_utils.h
dlib/bayes_utils/bayes_utils.h
+5
-5
No files found.
dlib/bayes_utils/bayes_utils.h
View file @
10829e4d
...
@@ -293,8 +293,8 @@ namespace dlib
...
@@ -293,8 +293,8 @@ namespace dlib
DLIB_ASSERT
(
0.0
<=
p
&&
p
<=
1.0
,
DLIB_ASSERT
(
0.0
<=
p
&&
p
<=
1.0
,
"
\t
void& joint_probability_table::set_probability(a,p)"
"
\t
void& joint_probability_table::set_probability(a,p)"
<<
"
\n\t
you have given an invalid probability value"
<<
"
\n\t
you have given an invalid probability value"
<<
"
\n\
t
tp: "
<<
p
<<
"
\n\t
p:
"
<<
p
<<
"
\n\
t
ta: "
<<
a
<<
"
\n\t
a:
"
<<
a
<<
"
\n\t
this: "
<<
this
<<
"
\n\t
this: "
<<
this
);
);
...
@@ -325,8 +325,8 @@ namespace dlib
...
@@ -325,8 +325,8 @@ namespace dlib
DLIB_ASSERT
(
0.0
<=
p
&&
p
<=
1.0
,
DLIB_ASSERT
(
0.0
<=
p
&&
p
<=
1.0
,
"
\t
void& joint_probability_table::add_probability(a,p)"
"
\t
void& joint_probability_table::add_probability(a,p)"
<<
"
\n\t
you have given an invalid probability value"
<<
"
\n\t
you have given an invalid probability value"
<<
"
\n\
t
tp: "
<<
p
<<
"
\n\t
p:
"
<<
p
<<
"
\n\
t
ta: "
<<
a
<<
"
\n\t
a:
"
<<
a
<<
"
\n\t
this: "
<<
this
<<
"
\n\t
this: "
<<
this
);
);
...
@@ -568,7 +568,7 @@ namespace dlib
...
@@ -568,7 +568,7 @@ namespace dlib
// make sure requires clause is not broken
// make sure requires clause is not broken
DLIB_ASSERT
(
value
<
num_values
()
&&
has_entry_for
(
value
,
ps
)
,
DLIB_ASSERT
(
value
<
num_values
()
&&
has_entry_for
(
value
,
ps
)
,
"
\t
void conditional_probability_table::probability()"
"
\t
void conditional_probability_table::probability()"
<<
"
\n\t
invalid arguments to
set_
probability"
<<
"
\n\t
invalid arguments to probability"
<<
"
\n\t
value: "
<<
value
<<
"
\n\t
value: "
<<
value
<<
"
\n\t
num_values(): "
<<
num_values
()
<<
"
\n\t
num_values(): "
<<
num_values
()
<<
"
\n\t
ps: "
<<
ps
<<
"
\n\t
ps: "
<<
ps
...
...
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