Merge pull request #2277 from rcurtin/fix-return-type

Fix return type of A().
This commit is contained in:
Marcus Edel
2020-03-11 17:54:50 +01:00
committed by GitHub
@@ -75,9 +75,9 @@ class LogCoshLoss
OutputDataType& OutputParameter() { return outputParameter; }
//! Get the value of hyperparameter a.
bool A() const { return a; }
double A() const { return a; }
//! Modify the value of hyperparameter a.
bool& A() { return a; }
double& A() { return a; }
/**
* Serialize the loss function.