/[escript]/branches/RW_WIN32/paso/src/SystemMatrix_saveHB.c
ViewVC logotype

Diff of /branches/RW_WIN32/paso/src/SystemMatrix_saveHB.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 185 by robwdcock, Sun Nov 20 05:43:12 2005 UTC revision 186 by robwdcock, Sun Nov 20 10:51:16 2005 UTC
# Line 82  void print_data( FILE *fp, int n_perline Line 82  void print_data( FILE *fp, int n_perline
82    
83      if( integer )      if( integer )
84      {      {
85          dim_t *data = ptr;          dim_t *data = (dim_t *)ptr;
86          for( int i=0; i<nval; i++ )          for( int i=0; i<nval; i++ )
87          {          {
88              fprintf( fp, fmt, data[i]+adjust );              fprintf( fp, fmt, data[i]+adjust );
# Line 98  void print_data( FILE *fp, int n_perline Line 98  void print_data( FILE *fp, int n_perline
98      }      }
99      else      else
100      {      {
101          double *data = ptr;          double *data = (double*)ptr;
102          for( int i=0; i<nval; i++ )          for( int i=0; i<nval; i++ )
103          {          {
104              fprintf( fp, fmt, data[i] );              fprintf( fp, fmt, data[i] );

Legend:
Removed from v.185  
changed lines
  Added in v.186

  ViewVC Help
Powered by ViewVC 1.1.26