/[escript]/trunk/paso/src/solve.c
ViewVC logotype

Diff of /trunk/paso/src/solve.c

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

revision 414 by gross, Tue Jan 3 00:23:48 2006 UTC revision 415 by gross, Wed Jan 4 05:37:33 2006 UTC
# Line 35  void Paso_solve(Paso_SystemMatrix* A, Line 35  void Paso_solve(Paso_SystemMatrix* A,
35    
36    Paso_resetError();    Paso_resetError();
37    if (A->num_rows!=A->num_cols || A->col_block_size!=A->row_block_size) {    if (A->num_rows!=A->num_cols || A->col_block_size!=A->row_block_size) {
38         Paso_setError(VALUE_ERROR,"__FILE__: matrix has to be a square matrix.");         Paso_setError(VALUE_ERROR,"Paso_solve: matrix has to be a square matrix.");
39         return;         return;
40    }    }
41    index_t package=Paso_Options_getPackage(options->method,options->package,options->symmetric);    index_t package=Paso_Options_getPackage(options->method,options->package,options->symmetric);
# Line 65  void Paso_solve(Paso_SystemMatrix* A, Line 65  void Paso_solve(Paso_SystemMatrix* A,
65  */  */
66    
67          default:          default:
68             Paso_setError(VALUE_ERROR,"__FILE__: unknown package code");             Paso_setError(VALUE_ERROR,"Paso_solve: unknown package code");
69             return;             return;
70       }       }
71    }    }

Legend:
Removed from v.414  
changed lines
  Added in v.415

  ViewVC Help
Powered by ViewVC 1.1.26