Changeset 64959c4
- Timestamp:
- Jan 29, 2019, 3:16:50 AM (6 years ago)
- Branches:
- feature/crepe_org
- Children:
- a9a8c04
- Parents:
- 5a89af0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ai/conv1d.c
r5a89af0 r64959c4 324 324 { 325 325 AUBIO_ASSERT(c && padding_mode); 326 if (strnc mp(padding_mode, "same", PATH_MAX) == 0) {326 if (strncasecmp(padding_mode, "same", PATH_MAX) == 0) { 327 327 c->padding_mode = PAD_SAME; 328 } else if (strnc mp(padding_mode, "valid", PATH_MAX) == 0) {328 } else if (strncasecmp(padding_mode, "valid", PATH_MAX) == 0) { 329 329 c->padding_mode = PAD_VALID; 330 330 } else {
Note: See TracChangeset
for help on using the changeset viewer.