Commit 10829e4d authored by Davis King's avatar Davis King

fixed some typos in assert messages

parent 87292660
...@@ -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,
"\tvoid& joint_probability_table::set_probability(a,p)" "\tvoid& joint_probability_table::set_probability(a,p)"
<< "\n\tyou have given an invalid probability value" << "\n\tyou have given an invalid probability value"
<< "\n\ttp: " << p << "\n\tp: " << p
<< "\n\tta: " << a << "\n\ta: " << a
<< "\n\tthis: " << this << "\n\tthis: " << 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,
"\tvoid& joint_probability_table::add_probability(a,p)" "\tvoid& joint_probability_table::add_probability(a,p)"
<< "\n\tyou have given an invalid probability value" << "\n\tyou have given an invalid probability value"
<< "\n\ttp: " << p << "\n\tp: " << p
<< "\n\tta: " << a << "\n\ta: " << a
<< "\n\tthis: " << this << "\n\tthis: " << 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) ,
"\tvoid conditional_probability_table::probability()" "\tvoid conditional_probability_table::probability()"
<< "\n\tinvalid arguments to set_probability" << "\n\tinvalid arguments to probability"
<< "\n\tvalue: " << value << "\n\tvalue: " << value
<< "\n\tnum_values(): " << num_values() << "\n\tnum_values(): " << num_values()
<< "\n\tps: " << ps << "\n\tps: " << ps
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment