/[ascend]/trunk/base/generic/solver/solver.c
ViewVC logotype

Diff of /trunk/base/generic/solver/solver.c

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

revision 1548 by jpye, Wed Jul 4 14:33:13 2007 UTC revision 1549 by jpye, Mon Jul 23 14:30:35 2007 UTC
# Line 330  void slv_set_parameters(slv_system_t sys Line 330  void slv_set_parameters(slv_system_t sys
330  }  }
331    
332  int slv_get_status(slv_system_t sys, slv_status_t *status){  int slv_get_status(slv_system_t sys, slv_status_t *status){
333        static const SlvFunctionsT *lastsolver = 0;
334      if(!sys->internals)return -1;      if(!sys->internals)return -1;
335      if(sys->internals->getstatus==NULL){printinfo(sys,"get_status");return -1;}      if(sys->internals->getstatus==NULL){
336            if(lastsolver==0 || lastsolver != sys->internals){
337                printinfo(sys,"get_status");
338                lastsolver = sys->internals;
339            }
340            return -1;
341        }
342      return (sys->internals->getstatus)(sys,sys->ct,status);      return (sys->internals->getstatus)(sys,sys->ct,status);
343  }  }
344    

Legend:
Removed from v.1548  
changed lines
  Added in v.1549

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22