Commit e5014f0d authored by Davis King's avatar Davis King

Fixed typos in spec.

parent ca30fd76
...@@ -55,7 +55,7 @@ namespace dlib ...@@ -55,7 +55,7 @@ namespace dlib
Finally, note that this object stores each row of data contiguously Finally, note that this object stores each row of data contiguously
in memory, and the overall layout is in row major order. However, in memory, and the overall layout is in row major order. However,
there might be padding at the end of each row. To determine the there might be padding at the end of each row. To determine the
offset from one row to another you can use step_width(). offset from one row to another you can use width_step().
!*/ !*/
...@@ -210,7 +210,7 @@ namespace dlib ...@@ -210,7 +210,7 @@ namespace dlib
/*! /*!
ensures ensures
- returns the pointer offset to step from one row to another. - returns the pointer offset to step from one row to another.
That is, &item[0][0] + step_width(item) == &item[1][0]. That is, &item[0][0] + item.width_step() == &item[1][0].
!*/ !*/
private: private:
......
...@@ -147,7 +147,7 @@ namespace dlib ...@@ -147,7 +147,7 @@ namespace dlib
/*! /*!
ensures ensures
- returns the pointer offset to step from one row to another. - returns the pointer offset to step from one row to another.
That is, &item[0][0] + step_width(item) == &item[1][0]. That is, &item[0][0] + item.width_step() == &item[1][0].
!*/ !*/
}; };
......
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