Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 25, 2024
1 parent 90e8941 commit e880b78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions include/sch/Matrix/SmallMatrix4x4T.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ struct Matrix4x4T
/*! Constructor form a scalar */
Matrix4x4T<T>(const T x)
{
for(int i = 0; i < 16; m[i++] = x)
;
for(int i = 0; i < 16; m[i++] = x);
}

/*! Copy constructor */
Expand Down
3 changes: 1 addition & 2 deletions src/CD/CD_Scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ int CD_Scene::addObject(S_Object * O)
{
unsigned int i;
/*looking for an empty place*/
for(i = 0; (i < objects_.size()) && (objects_[i] != NULL); ++i)
;
for(i = 0; (i < objects_.size()) && (objects_[i] != NULL); ++i);

/*filling objects and possibly updating _pairs and _witness matrix*/
if(i == objects_.size())
Expand Down

0 comments on commit e880b78

Please sign in to comment.