Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/RandomNumbersAction/SetRandomNumbersEngineAction.def

    r043598 r6ba9ba  
    1010#include "Parameters/Validators/Specific/RandomNumberValidators.hpp"
    1111#include "Parameters/Validators/Specific/KeyValueValidator.hpp"
    12 #include "Parameters/Specifics/KeyValuePair.hpp"
    1312
    1413// i.e. there is an integer with variable name Z that can be found in
    1514// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    1615// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    17 #define paramtypes (std::string)(KeyValuePair)
     16#define paramtypes (std::string)(std::string)
    1817#define paramtokens ("set-random-number-engine")("random-number-engine-parameters")
    1918#define paramdescriptions ("name of the pseudo-random engine from boost::random")("seed of the pseudo-random number sequence")
    20 #define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(KeyValuePair("seed=-1")))
     19#define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(std::string("seed=-1")))
    2120#define paramreferences (engine_type)(parameters)
    2221#define paramvalids \
Note: See TracChangeset for help on using the changeset viewer.