From fced3587f1fc26ea84575a42e1c1e7554f495ff1 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sat, 27 Jul 2019 09:03:14 -0400 Subject: [PATCH] fixing grammar --- examples/matrix_ex.cpp | 4 ++-- examples/matrix_expressions_ex.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/matrix_ex.cpp b/examples/matrix_ex.cpp index a56dbfbb2..9994c590a 100644 --- a/examples/matrix_ex.cpp +++ b/examples/matrix_ex.cpp @@ -34,7 +34,7 @@ int main() // First let's declare these 3 matrices. // This declares a matrix that contains doubles and has 3 rows and 1 column. - // Moreover, it's size is a compile time constant since we put it inside the <>. + // Moreover, its size is a compile time constant since we put it inside the <>. matrix y; // Make a 3 by 3 matrix of doubles for the M matrix. In this case, M is // sized at runtime and can therefore be resized later by calling M.set_size(). @@ -170,7 +170,7 @@ int main() // MATLAB: E = A * B E = A*B; - // MATLAB: E = A + B + // MATLAB: E = A + C E = A + C; // MATLAB: E = A + 5 diff --git a/examples/matrix_expressions_ex.cpp b/examples/matrix_expressions_ex.cpp index b52370907..a435ebc02 100644 --- a/examples/matrix_expressions_ex.cpp +++ b/examples/matrix_expressions_ex.cpp @@ -247,7 +247,7 @@ struct example_op_vector_to_matrix /*! This object defines a matrix expression that holds a reference to a std::vector and makes it look like a column vector. Thus it enables you to use a std::vector - as if it was a dlib::matrix. + as if it were a dlib::matrix. !*/ example_op_vector_to_matrix( const std::vector& vect_) : vect(vect_){}