diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-16 15:05:18 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-16 15:05:18 +0200 |
commit | a8241fff9f445cdcd86e206a039f95d5639a3ba0 (patch) | |
tree | 48136573efa752abd39026ea8989211d68d90265 /src/test.c | |
parent | doc (diff) | |
download | libclut-a8241fff9f445cdcd86e206a039f95d5639a3ba0.tar.gz libclut-a8241fff9f445cdcd86e206a039f95d5639a3ba0.tar.bz2 libclut-a8241fff9f445cdcd86e206a039f95d5639a3ba0.tar.xz |
Improve libclut_sigmoid
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/test.c')
-rw-r--r-- | src/test.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -252,6 +252,8 @@ int main(int argc, char *argv[]) t2.blue[i] = t2.green[i] = t2.red[i] = (uint16_t)(x * UINT16_MAX); } libclut_sigmoid(&t1, UINT16_MAX, uint16_t, ¶m, ¶m, ¶m); + t1.blue[0] = t1.green[0] = t1.red[0] = t2.red[0]; + t1.blue[255] = t1.green[255] = t1.red[255] = t2.red[255]; if (clutcmp(&t1, &t2, 0)) printf("libclut_sigmoid failed\n"), rc = 1; |