Changeset 1215 for cpp/frams


Ignore:
Timestamp:
04/17/23 00:04:28 (21 months ago)
Author:
Maciej Komosinski
Message:

Less ambiguous names of counting functions in loggers: warning -> error_warning, info -> error_warning_info

Location:
cpp/frams
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/fH/fH_oper.cpp

    r1167 r1215  
    7171        int amount = builder.removeNeuronsWithInvalidClasses();
    7272        // if there were any warnings, then rewrite genotype
    73         if (eh.getWarningCount() > 0 || amount > 0)
     73        if (eh.getErrorWarningCount() > 0 || amount > 0)
    7474        {
    7575                free(geno);
  • cpp/frams/model/model.cpp

    r1135 r1215  
    406406                        return;
    407407                }
    408                 if (mh.getWarningCount())
     408                if (mh.getErrorWarningCount())
    409409                {
    410410                        if (f0warnposition < 0) f0warnposition = lastpos;
Note: See TracChangeset for help on using the changeset viewer.