[svn-r16219] Description:
Bring revisions 16206:16218 back from trunk
Tested on:
Mac OS X/32 10.5.6 (amazon)
This commit is contained in:
@@ -209,13 +209,17 @@ hsize_t diff_array( void *_mem1,
|
||||
/* get the size. */
|
||||
size = H5Tget_size( m_type );
|
||||
|
||||
acc[rank-1]=1;
|
||||
for(j=(rank-2); j>=0; j--)
|
||||
if ( rank > 0 )
|
||||
{
|
||||
acc[j]=acc[j+1]*dims[j+1];
|
||||
|
||||
acc[rank-1]=1;
|
||||
for(j=(rank-2); j>=0; j--)
|
||||
{
|
||||
acc[j]=acc[j+1]*dims[j+1];
|
||||
}
|
||||
for ( j = 0; j < rank; j++)
|
||||
pos[j]=0;
|
||||
}
|
||||
for ( j = 0; j < rank; j++)
|
||||
pos[j]=0;
|
||||
|
||||
if(H5Tis_variable_str(m_type))
|
||||
{
|
||||
@@ -5573,6 +5577,10 @@ void print_pos( int *ph, /* print header */
|
||||
}
|
||||
parallel_print("]" );
|
||||
}
|
||||
else
|
||||
{
|
||||
parallel_print(" ");
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user