Skip to content
Snippets Groups Projects
Commit 41d3c31a authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[ParL] Fix declaration of createFunctionParameter.

The error does not pop up when compiling a unity build.
parent f5f11d4a
No related branches found
No related tags found
No related merge requests found
...@@ -10,11 +10,11 @@ ...@@ -10,11 +10,11 @@
#pragma once #pragma once
#include <exprtk.hpp>
#include <utility> #include <utility>
#include <vector> #include <vector>
#include <exprtk.hpp> #include "MathLib/InterpolationAlgorithms/PiecewiseLinearInterpolation.h"
#include "Parameter.h" #include "Parameter.h"
#include "Utils.h" #include "Utils.h"
...@@ -147,6 +147,10 @@ private: ...@@ -147,6 +147,10 @@ private:
}; };
std::unique_ptr<ParameterBase> createFunctionParameter( std::unique_ptr<ParameterBase> createFunctionParameter(
std::string const& name, BaseLib::ConfigTree const& config); std::string const& name,
BaseLib::ConfigTree const& config,
std::map<std::string,
std::unique_ptr<MathLib::PiecewiseLinearInterpolation>> const&
curves);
} // namespace ParameterLib } // namespace ParameterLib
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment