Merge pull request #2277 from rcurtin/fix-return-type
Fix return type of A().
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user