removed line of dead code

This commit is contained in:
Lewis Van Winkle 2018-07-06 10:29:23 -05:00
parent b802e1e0b5
commit d2e716d9d1
1 changed files with 0 additions and 1 deletions

View File

@ -84,7 +84,6 @@ double inline genann_act_sigmoid_cached(const genann *ann __unused, double a) {
size_t j = (size_t)((a-sigmoid_dom_min)*interval+0.5);
/* Because floating point... */
if (unlikely(j < 0)) return lookup[0];
if (unlikely(j >= LOOKUP_SIZE)) return lookup[LOOKUP_SIZE - 1];
return lookup[j];