1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Normalised all whitespace before args in std::function

This commit is contained in:
ed 2020-06-05 09:37:49 +01:00
parent 3283f2224a
commit d510b73cdf
62 changed files with 149 additions and 149 deletions

View file

@ -28,7 +28,7 @@ LookupTable<FloatType>::LookupTable()
}
template <typename FloatType>
LookupTable<FloatType>::LookupTable (const std::function<FloatType(size_t)>& functionToApproximate,
LookupTable<FloatType>::LookupTable (const std::function<FloatType (size_t)>& functionToApproximate,
size_t numPointsToUse)
{
initialise (functionToApproximate, numPointsToUse);
@ -36,7 +36,7 @@ LookupTable<FloatType>::LookupTable (const std::function<FloatType(size_t)>& fun
//==============================================================================
template <typename FloatType>
void LookupTable<FloatType>::initialise (const std::function<FloatType(size_t)>& functionToApproximate,
void LookupTable<FloatType>::initialise (const std::function<FloatType (size_t)>& functionToApproximate,
size_t numPointsToUse)
{
data.resize (static_cast<int> (getRequiredBufferSize (numPointsToUse)));
@ -64,7 +64,7 @@ void LookupTable<FloatType>::prepare() noexcept
}
template <typename FloatType>
void LookupTableTransform<FloatType>::initialise (const std::function<FloatType(FloatType)>& functionToApproximate,
void LookupTableTransform<FloatType>::initialise (const std::function<FloatType (FloatType)>& functionToApproximate,
FloatType minInputValueToUse,
FloatType maxInputValueToUse,
size_t numPoints)
@ -90,7 +90,7 @@ void LookupTableTransform<FloatType>::initialise (const std::function<FloatType(
//==============================================================================
template <typename FloatType>
double LookupTableTransform<FloatType>::calculateMaxRelativeError (const std::function<FloatType(FloatType)>& functionToApproximate,
double LookupTableTransform<FloatType>::calculateMaxRelativeError (const std::function<FloatType (FloatType)>& functionToApproximate,
FloatType minInputValue,
FloatType maxInputValue,
size_t numPoints,