Changeset 8 for cpp


Ignore:
Timestamp:
05/24/09 22:53:32 (15 years ago)
Author:
mwajcht
Message:

Returning GENOPER_OPFAIL in case mutation fails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/f8-to-f1/geno_f8.cpp

    r7 r8  
    10051005                strcpy(g, mutatedTmp); //the rest is originalg = mutated;
    10061006                //cout << "mutate 3" << endl;
     1007                return GENOPER_OK;
    10071008        } else {
    10081009                chg = 0.0;
    1009         }
    1010        
    1011         return GENOPER_OK;
     1010                return GENOPER_OPFAIL;
     1011        }
    10121012}
    10131013
Note: See TracChangeset for help on using the changeset viewer.