Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/TextUI/Query/RandomNumberDistribution_ParametersTextQuery.cpp

    r955b91 rf10b0c  
    3030#include "RandomNumbers/RandomNumberDistribution_Parameters.hpp"
    3131
    32 TextDialog::RandomNumberDistribution_ParametersTextQuery::RandomNumberDistribution_ParametersTextQuery(std::string title, std::string _description) :
    33     Dialog::RandomNumberDistribution_ParametersQuery(title,_description)
     32TextDialog::RandomNumberDistribution_ParametersTextQuery::RandomNumberDistribution_ParametersTextQuery(Parameter<RandomNumberDistribution_Parameters> &param, std::string title, std::string _description) :
     33    Dialog::RandomNumberDistribution_ParametersQuery(param, title,_description)
    3434{}
    3535
     
    4343    std::cout << "Please enter parameters as follows: 'p=0.5;'";
    4444    std::cout << "Empty line terminates." << std::endl;
    45     std::cin >> tmp;
     45    RandomNumberDistribution_Parameters temp_params;
     46    std::cin >> temp_params;
     47    tmp.set(temp_params);
    4648    if(std::cin.fail()){
    4749      badInput = true;
Note: See TracChangeset for help on using the changeset viewer.