projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
668dfdd
)
[fmat] workaround to allow printing 'fake' fmat created from tensors
author
Paul Brossier
<piem@piem.org>
Tue, 29 Jan 2019 02:30:59 +0000
(
03:30
+0100)
committer
Paul Brossier
<piem@piem.org>
Wed, 29 Dec 2021 16:52:02 +0000
(11:52 -0500)
src/fmat.c
patch
|
blob
|
history
diff --git
a/src/fmat.c
b/src/fmat.c
index
62c48c5
..
dd4060f
100644
(file)
--- a/
src/fmat.c
+++ b/
src/fmat.c
@@
-77,7
+77,7
@@
void fmat_print(const fmat_t *s) {
uint_t i,j;
for (i=0; i< s->height; i++) {
for (j=0; j< s->length; j++) {
- AUBIO_MSG(AUBIO_SMPL_FMT " ", s->data[
i][
j]);
+ AUBIO_MSG(AUBIO_SMPL_FMT " ", s->data[
0][i * s->length +
j]);
}
AUBIO_MSG("\n");
}