diff options
author | Davide Morelli <morellid@users.sourceforge.net> | 2006-01-22 15:19:26 +0000 |
---|---|---|
committer | Davide Morelli <morellid@users.sourceforge.net> | 2006-01-22 15:19:26 +0000 |
commit | 9034a1707bdeb06ddb1ab9cf77ed2df0ed694310 (patch) | |
tree | 9cf36434cc392d9ba86ad01c7f6d6c008fff166f | |
parent | 6e1106e148ba32f529e7b154f95351281508978d (diff) |
fixed novelty indicator
svn path=/trunk/externals/frankenstein/; revision=4462
-rwxr-xr-x | chords_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chords_memory.c b/chords_memory.c index e9e95ae..01a5bf5 100755 --- a/chords_memory.c +++ b/chords_memory.c @@ -795,7 +795,7 @@ float chords_memory_add(t_chords_memory *x, chord_t chord1, chord_t chord2) if (DEBUG)
post("x->maxweight[%i] = %i",x->fundamental_mode, x->maxweight[x->fundamental_mode]);
}
- return (float) (((float) x->maxweight[x->fundamental_mode]) / ((float) x->arcs[x->fundamental_mode][chord1int][chord2int]) );
+ return (float) (((float) x->arcs[x->fundamental_mode][chord1int][chord2int]) / ((float) x->maxweight[x->fundamental_mode]) );
}
|