Skip to content

Commit 2dd98ea

Browse files
committed
Fix comments to be consistent with code (even vs. odd)
1 parent cc1f36b commit 2dd98ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

StRoot/StFttDbMaker/StFttDb.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ UChar_t StFttDb::getOrientation( int rob, int feb, int vmm, int row ) const {
268268
}
269269

270270
if ( rob % 2 == 0 ){ // even rob
271-
if ( feb % 2 == 0 ) { // odd
271+
if ( feb % 2 == 0 ) { // even feb
272272
// row 3 and 4 are always diagonal
273273
if ( 3 == row || 4 == row )
274274
return kFttDiagonalH;
@@ -281,7 +281,7 @@ UChar_t StFttDb::getOrientation( int rob, int feb, int vmm, int row ) const {
281281
return kFttVertical;
282282
} else { // odd rob
283283

284-
if ( feb % 2 == 0 ) { // odd
284+
if ( feb % 2 == 0 ) { // even feb
285285
// row 3 and 4 are always diagonal
286286
if ( 3 == row || 4 == row )
287287
return kFttDiagonalV;

0 commit comments

Comments
 (0)