Changeset 516 for cpp/frams/genetics


Ignore:
Timestamp:
06/22/16 16:34:36 (4 years ago)
Author:
Maciej Komosinski
Message:

Geno format as a string (no longer ascii number)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/genman.cpp

    r513 r516  
    467467void GenMan::p_getsimplest(ExtValue *args, ExtValue *ret)
    468468{
    469         int format = args[0].getInt() + 48;
     469        int format = GenoObj::formatFromExtValue(args[0]);
    470470        if (!getOper_f(format))
    471471                ret->setEmpty();
Note: See TracChangeset for help on using the changeset viewer.