Skip to content

Commit c0523ee

Browse files
committed
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>
1 parent 3556152 commit c0523ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lstm/functions.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ struct HPrime {
149149
}
150150
};
151151
struct UnityFunc {
152-
inline double operator()(double x) const { return 1.0; }
152+
inline double operator()(double /*x*/) const { return 1.0; }
153153
};
154154
struct IdentityFunc {
155155
inline double operator()(double x) const { return x; }

0 commit comments

Comments
 (0)