Browse Source

removed line of dead code

pull/22/head
Lewis Van Winkle 2 years ago
parent
commit
d2e716d9d1
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      genann.c

+ 0
- 1
genann.c 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];


Loading…
Cancel
Save