mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
ExpressionModelHandle --> ExpressionModel SingleExpressionModelHandle --> ExpressionModelHandle StorageFunction --> Function StorageCartesianFunction --> CartesianFunction StorageFunctionApp --> FunctionApp
14 lines
321 B
C++
14 lines
321 B
C++
#include "go_to_parameter_controller.h"
|
|
#include <assert.h>
|
|
#include <cmath>
|
|
|
|
namespace Sequence {
|
|
|
|
bool GoToParameterController::setParameterAtIndex(int parameterIndex, double f) {
|
|
assert(parameterIndex == 0);
|
|
return Shared::FunctionGoToParameterController::setParameterAtIndex(parameterIndex, std::round(f));
|
|
}
|
|
|
|
}
|
|
|