Removed comments and added examples
This commit is contained in:
@@ -41,12 +41,10 @@ std::function<double(double)> function1D(json_t* object) {
|
||||
std::string x_values_key = json_string(
|
||||
json_object_by_path(object, {"PiecewiseLinearFromFile", "xValuesKey"}));
|
||||
blitz::Array<double, 1> x_values_array = reader.readD1Double(x_values_key);
|
||||
// DEBUG_LEVEL_3("with x values: " + x_values_array);
|
||||
|
||||
std::string y_values_key = json_string(
|
||||
json_object_by_path(object, {"PiecewiseLinearFromFile", "yValuesKey"}));
|
||||
blitz::Array<double, 1> y_values_array = reader.readD1Double(y_values_key);
|
||||
// DEBUG_LEVEL_3("with y values: " + y_values_array);
|
||||
|
||||
std::vector<double> x_values(x_values_array.begin(), x_values_array.end());
|
||||
std::vector<double> y_values(y_values_array.begin(), y_values_array.end());
|
||||
|
||||
Reference in New Issue
Block a user