Index: /branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/fitpoly.c
===================================================================
--- /branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/fitpoly.c	(revision 37691)
+++ /branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/fitpoly.c	(revision 37692)
@@ -184,5 +184,5 @@
   }	
   
-  if (!dgaussjordan (matrix, vector, fit[0].Nelems, 2)) {
+  if (!dgaussjordan_pivot (matrix, vector, fit[0].Nelems, 2, 1e-16)) {
     array_free (matrix, fit[0].Nelems);
     array_free (vector, fit[0].Nelems);
