mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-06-12 05:13:14 +08:00
Fix compiler warning
g++ warning: src/lstm/functions.h:152:35: warning: unused parameter ‘x’ [-Wunused-parameter] Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
3556152412
commit
c0523ee5a2
@ -149,7 +149,7 @@ struct HPrime {
|
||||
}
|
||||
};
|
||||
struct UnityFunc {
|
||||
inline double operator()(double x) const { return 1.0; }
|
||||
inline double operator()(double /*x*/) const { return 1.0; }
|
||||
};
|
||||
struct IdentityFunc {
|
||||
inline double operator()(double x) const { return x; }
|
||||
|
Loading…
Reference in New Issue
Block a user