Changeset 19981


Ignore:
Timestamp:
08/10/20 17:06:56 (4 years ago)
Author:
tbretz
Message:
Fixed... didn't work without a simsel option.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/spectrum.cc

    r19980 r19981  
    906906    //    query3.template_defaults[it->first.c_str()] = it->second.c_str();
    907907
    908     if (!where_sim.empty())
    909         query3.template_defaults["where"] = ("AND\n      "+where_sim).c_str();
     908    query3.template_defaults["where"] = where_sim.empty()? "" : ("AND\n      "+where_sim).c_str();
    910909
    911910    if (print_queries)
Note: See TracChangeset for help on using the changeset viewer.