IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14914


Ignore:
Timestamp:
Sep 20, 2007, 10:39:28 AM (19 years ago)
Author:
eugene
Message:

report error in gaussj

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/gaussj.c

    r8297 r14914  
    55  float *m, *v;
    66  double **a, **b;
    7   int i, j, N;
     7  int i, j, N, status;
    88  Vector *B;
    99  Buffer *A;
     
    3333    b[i][0] = v[i];
    3434  }
    35   dgaussj (a, N, b, 1);
     35
     36  status = dgaussj (a, N, b, 1);
    3637
    3738  for (i = 0; i < N; i++) {
     
    4849  free (a);
    4950  free (b);
    50   return (TRUE);
     51
     52  if (!status) {
     53      gprint (GP_ERR, "failure in matrix solution\n");
     54  }
     55  return (status);
    5156
    5257 usage:
Note: See TracChangeset for help on using the changeset viewer.