Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static basic::Tracer TR( "core.conformation.parametric.ParametrizationCalculator
/// @brief Constructor.
///
ParametrizationCalculator::ParametrizationCalculator() :
parameters_( new Parameters )
parameters_( utility::pointer::make_shared< Parameters >() )
//TODO -- initialize variables here.
{
}
Expand Down Expand Up @@ -217,7 +217,7 @@ ParametrizationCalculator::add_real_parameter(
std::string const &units,
ParameterizationCalculatorProperties const &properties
) {
RealValuedParameterOP param( new RealValuedParameter );
RealValuedParameterOP param( utility::pointer::make_shared< RealValuedParameter >() );
param->set_parameter_name(parameter_name);
param->set_parameter_description(description);
param->set_short_parameter_description(short_description);
Expand All @@ -239,7 +239,7 @@ ParametrizationCalculator::add_realvector_parameter(
std::string const &units,
ParameterizationCalculatorProperties const &properties
) {
RealVectorValuedParameterOP param( new RealVectorValuedParameter );
RealVectorValuedParameterOP param( utility::pointer::make_shared< RealVectorValuedParameter >() );
param->set_parameter_name(parameter_name);
param->set_parameter_description(description);
param->set_short_parameter_description(short_description);
Expand All @@ -262,7 +262,7 @@ ParametrizationCalculator::add_size_parameter(
std::string const &units,
ParameterizationCalculatorProperties const &properties
) {
SizeValuedParameterOP param( new SizeValuedParameter );
SizeValuedParameterOP param( utility::pointer::make_shared< SizeValuedParameter >() );
param->set_parameter_name(parameter_name);
param->set_parameter_description(description);
param->set_short_parameter_description(short_description);
Expand All @@ -285,7 +285,7 @@ ParametrizationCalculator::add_sizevector_parameter(
std::string const &units,
ParameterizationCalculatorProperties const &properties
) {
SizeVectorValuedParameterOP param( new SizeVectorValuedParameter );
SizeVectorValuedParameterOP param( utility::pointer::make_shared< SizeVectorValuedParameter >() );
param->set_parameter_name(parameter_name);
param->set_parameter_description(description);
param->set_short_parameter_description(short_description);
Expand All @@ -308,7 +308,7 @@ ParametrizationCalculator::add_boolean_parameter(
std::string const &units,
ParameterizationCalculatorProperties const &properties
) {
BooleanValuedParameterOP param( new BooleanValuedParameter );
BooleanValuedParameterOP param( utility::pointer::make_shared< BooleanValuedParameter >() );
param->set_parameter_name(parameter_name);
param->set_parameter_description(description);
param->set_short_parameter_description(short_description);
Expand Down