Changeset 57f8bc1


Ignore:
Timestamp:
Dec 29, 2021, 5:52:02 PM (2 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/crepe
Children:
c78f151
Parents:
75e0b81
git-author:
Paul Brossier <piem@piem.org> (01/29/19 03:31:38)
git-committer:
Paul Brossier <piem@piem.org> (12/29/21 17:52:02)
Message:

[tensor] add warning in aubio_tensor_as_fmat, to be avoided

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ai/tensor.c

    r75e0b81 r57f8bc1  
    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.