Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lstm: Fix possible float division by zero
Coverity report: CID 1366441 (#1 of 1): Division or modulo by float zero (DIVIDE_BY_ZERO) 5. divide_by_zero: In expression static_cast<double>(char_errors) / truth_size, division by expression truth_size which may be zero has undefined behavior. Signed-off-by: Stefan Weil <sw@weilnetz.de>
- Loading branch information