Ignore:
File:
1 edited

Legend:

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

    r043598 r6ba9ba  
    1111#include "Parameters/Validators/Specific/RandomNumberValidators.hpp"
    1212#include "Parameters/Validators/Specific/KeyValueValidator.hpp"
    13 #include "Parameters/Specifics/KeyValuePair.hpp"
    1413
    1514// i.e. there is an integer with variable name Z that can be found in
    1615// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    1716// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    18 #define paramtypes (std::string)(KeyValuePair)
     17#define paramtypes (std::string)(std::string)
    1918#define paramtokens ("set-random-number-distribution")("random-number-distribution-parameters")
    2019#define paramdescriptions ("name of the distribution from boost::random")("parameter set for requested distribution")
    21 #define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(KeyValuePair("p=-1")))
     20#define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(std::string("p=-1")))
    2221#define paramreferences (distribution_type)(parameters)
    2322#define paramvalids \
Note: See TracChangeset for help on using the changeset viewer.