Skip to content

Commit 0c97169

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6659467 commit 0c97169

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

include/sch/Matrix/SmallMatrix4x4T.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ struct Matrix4x4T
4141
/*! Constructor form a scalar */
4242
Matrix4x4T<T>(const T x)
4343
{
44-
for(int i = 0; i < 16; m[i++] = x)
45-
;
44+
for(int i = 0; i < 16; m[i++] = x);
4645
}
4746

4847
/*! Copy constructor */

src/CD/CD_Scene.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ int CD_Scene::addObject(S_Object * O)
1919
{
2020
unsigned int i;
2121
/*looking for an empty place*/
22-
for(i = 0; (i < objects_.size()) && (objects_[i] != NULL); ++i)
23-
;
22+
for(i = 0; (i < objects_.size()) && (objects_[i] != NULL); ++i);
2423

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

0 commit comments

Comments
 (0)