Skip to content

Commit

Permalink
Merge pull request #291 from Bhany/knit_typos_in_comments
Browse files Browse the repository at this point in the history
misc: typos in comments fix
  • Loading branch information
christian-rauch authored Sep 19, 2023
2 parents 6fd978c + 90f7d86 commit b7bd75c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion common/homography.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ matd_t *homography_compute(zarray_t *correspondences, int flags)
// And that the homography is equal to the projection matrix times the
// model matrix, recover the model matrix (which is returned). Note
// that the third column of the model matrix is missing in the
// expresison below, reflecting the fact that the homography assumes
// expression below, reflecting the fact that the homography assumes
// all points are at z=0 (i.e., planar) and that the element of z is
// thus omitted. (3x1 instead of 4x1).
//
Expand Down
2 changes: 1 addition & 1 deletion common/homography.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ static inline void homography_project(const matd_t *H, double x, double y, doubl
//
// And that the homography is equal to the projection matrix times the model matrix,
// recover the model matrix (which is returned). Note that the third column of the model
// matrix is missing in the expresison below, reflecting the fact that the homography assumes
// matrix is missing in the expression below, reflecting the fact that the homography assumes
// all points are at z=0 (i.e., planar) and that the element of z is thus omitted.
// (3x1 instead of 4x1).
//
Expand Down
2 changes: 1 addition & 1 deletion common/pjpeg.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ static uint8_t mjpeg_dht[] = { // header
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,

/////////////////////////////////////////////////////////////
// chrominance DC coefficents
// chrominance DC coefficients
// DC table 1
0x01,
// code lengths
Expand Down
2 changes: 1 addition & 1 deletion common/string_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ int str_diff_idx(const char * a, const char * b);
* contain the delimiter. The original string will remain unchanged.
* If str is composed of all delimiters, an empty array will be returned.
*
* It is the caller's responsibilty to free the returned zarray, as well as
* It is the caller's responsibility to free the returned zarray, as well as
* the strings contained within it, e.g.:
*
* zarray_t *za = str_split("this is a haystack", " ");
Expand Down

0 comments on commit b7bd75c

Please sign in to comment.