Commit 7233209e authored by Simon Spannagel's avatar Simon Spannagel
Browse files

some clang-format fixes

parent f208a0a4
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -46,6 +46,4 @@ CRYCosLatitudeFunction::CRYCosLatitudeFunction(std::string name, std::string dat

// Evaluate the function given an input or vector of inputs
// These are defined in the derived classes
double CRYCosLatitudeFunction::value(double x) {
    return (*_params)[0] * pow(cos((M_PI / 180.0) * x), (*_params)[1]);
}
double CRYCosLatitudeFunction::value(double x) { return (*_params)[0] * pow(cos((M_PI / 180.0) * x), (*_params)[1]); }
+1 −3
Original line number Diff line number Diff line
@@ -45,6 +45,4 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <stdlib.h> // For Ubuntu Linux
#include <string>

CRYParamI::CRYParamI(std::string data) : CRYAbsParameter(data) {
    _param = atoi(_paramStr.c_str());
}
CRYParamI::CRYParamI(std::string data) : CRYAbsParameter(data) { _param = atoi(_paramStr.c_str()); }
+1 −3
Original line number Diff line number Diff line
@@ -42,6 +42,4 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <iostream>
#include <stdlib.h> // For Ubuntu Linux

CRYParameter::CRYParameter(std::string data) : CRYAbsParameter(data) {
    _param = atof(_paramStr.c_str());
}
CRYParameter::CRYParameter(std::string data) : CRYAbsParameter(data) { _param = atof(_paramStr.c_str()); }
+1 −3
Original line number Diff line number Diff line
@@ -58,9 +58,7 @@ std::string CRYUtils::removeTrailingSpaces(std::string input) {
}

// until we get one from the transport coders
double CRYUtils::randomFlat(double min, double max) {
    return min + (max - min) * rngdptr();
}
double CRYUtils::randomFlat(double min, double max) { return min + (max - min) * rngdptr(); }

double CRYUtils::tmpRandom() {
    static unsigned long int next = 1;
+1 −3
Original line number Diff line number Diff line
@@ -67,6 +67,4 @@ double CRYWeightFunc::weight(double value) {
    return (*_weights)[b];
}

double CRYWeightFunc::weightBin(unsigned int b) {
    return (*_weights)[b];
}
double CRYWeightFunc::weightBin(unsigned int b) { return (*_weights)[b]; }
+2 −2

File changed.

Contains only whitespace changes.

Loading