Changeset d9a5466 for src/ai


Ignore:
Timestamp:
Jan 29, 2019, 3:31:38 AM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/crepe_org
Children:
7048b56
Parents:
9498c88
Message:

[tensor] add warning in aubio_tensor_as_fmat, to be avoided

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ai/tensor.c

    r9498c88 rd9a5466  
    9494  o->length = c->size / c->shape[0];
    9595  o->data = c->data;
     96  // o was allocated on the stack, data[1] may be NULL
     97  AUBIO_WRN("aubio_tensor_as_fmat will not create a usable table of rows\n");
    9698  return AUBIO_OK;
    9799}
Note: See TracChangeset for help on using the changeset viewer.