Commit 15f5889e authored by Davis King's avatar Davis King

Fixed typo in spec.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403195
parent 98cab583
...@@ -978,7 +978,7 @@ namespace dlib ...@@ -978,7 +978,7 @@ namespace dlib
); );
/*! /*!
requires requires
- pixel_traits<P>::has_alpha == false - pixel_traits<P> must be defined
ensures ensures
- returns a matrix M such that: - returns a matrix M such that:
- M::type == T - M::type == T
...@@ -1007,7 +1007,6 @@ namespace dlib ...@@ -1007,7 +1007,6 @@ namespace dlib
); );
/*! /*!
requires requires
- pixel_traits<P>::has_alpha == false
- vector::NR == pixel_traits<P>::num - vector::NR == pixel_traits<P>::num
- vector::NC == 1 - vector::NC == 1
(i.e. you have to use a statically dimensioned vector) (i.e. you have to use a statically dimensioned vector)
......
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