Ignore:
Timestamp:
06/01/09 23:07:35 (15 years ago)
Author:
mwajcht
Message:

Fixed one bug in converter. Fixed checking if mutation was unsuccessful.

File:
1 edited

Legend:

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

    r7 r9  
    595595        Production *firstProduction = lsystem->productions[lsystem->firstProductionName];
    596596        vector<double> params;
    597         params.reserve(lsystem->startParams.size());
     597        params.assign(lsystem->startParams.size(), 0.0);
    598598        //cout << "startParams->size: " << lsystem->startParams.size() << endl;
    599599        for (map<string, double>::iterator iter = lsystem->startParams.begin();
Note: See TracChangeset for help on using the changeset viewer.