#define END_OF_VEC -1
-static int maxl;
-static int tsize;
void arguments( int argc, char *argv[] )
{
table[point]++;
}
-int commonsextet_p( short *table, int *pointt )
+static int localcommonsextet_p( short *table, int *pointt )
{
int value = 0;
short tmp;
int *grpseq;
char *tmpseq;
int **pointt;
- static char name[M][B];
+ static char **name;
static int nlen[M];
double **mtx;
double **mtx2;
exit( 1 );
}
+ name = AllocateCharMtx( njob, B+1 );
tmpseq = AllocateCharVec( nlenmax+1 );
seq = AllocateCharMtx( njob, nlenmax+1 );
grpseq = AllocateIntVec( nlenmax+1 );
#if 0
FRead( infp, name, nlen, seq );
#else
- readData( infp, name, nlen, seq );
+ readData_pointer( infp, name, nlen, seq );
#endif
fclose( infp );
for( j=i; j<njob; j++ )
{
- score = (double)commonsextet_p( table1, pointt[j] );
+ score = (double)localcommonsextet_p( table1, pointt[j] );
mtx[i][j] = score;
}
free( table1 );
fp = fopen( "hat2", "w" );
if( !fp ) ErrorExit( "Cannot open hat2." );
- WriteHat2( fp, njob, name, mtx2 );
+ WriteHat2_pointer( fp, njob, name, mtx2 );
fclose( fp );
fprintf( stderr, "\n" );