aboutsummaryrefslogtreecommitdiff
path: root/src/mtx_pivot.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-04-12 09:01:36 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-04-12 09:01:36 +0000
commita4ce87d4c46207f5047be7e0afdfc18d8571b384 (patch)
treeef78bc56d5727f945a1f658ec6a09316882a3cbd /src/mtx_pivot.c
parent163d79e3caff706fe41a2eaf316628a98d7fc050 (diff)
changed license-text (now references LICENSE.txt instead of LGPL)
svn path=/trunk/externals/iem/iemmatrix/; revision=2721
Diffstat (limited to 'src/mtx_pivot.c')
-rw-r--r--src/mtx_pivot.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mtx_pivot.c b/src/mtx_pivot.c
index 8534021..3bc5133 100644
--- a/src/mtx_pivot.c
+++ b/src/mtx_pivot.c
@@ -4,11 +4,11 @@
* objects for manipulating simple matrices
* mostly refering to matlab/octave matrix functions
*
- * (c) IOhannes m zmölnig, forum::für::umläute
- *
- * IEM, Graz
+ * Copyright (c) IOhannes m zmölnig, forum::für::umläute
+ * IEM, Graz, Austria
*
- * this code is published under the LGPL
+ * For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
*/
#include "iemmatrix.h"
@@ -80,7 +80,7 @@ static void mtx_pivot_matrix(t_mtx_pivot *x, t_symbol *s, int argc, t_atom *argv
for (k=0; k<min_rowcol; k++){
// 1. find max_element
- t_matrixfloat tmp = fabsf(buffer[k*(1+col)]);
+ t_float tmp = fabsf(buffer[k*(1+col)]);
pivot_row = pivot_col = k;
for(i=k; i<row; i++){
@@ -88,7 +88,7 @@ static void mtx_pivot_matrix(t_mtx_pivot *x, t_symbol *s, int argc, t_atom *argv
j=col-k;
while(j--){
- t_matrixfloat f = fabsf(*buf++);
+ t_float f = fabsf(*buf++);
if ((ascending && f>tmp) || (!ascending && f<tmp)) {
tmp=f;
pivot_row = i;