/[ascend]/trunk/pygtk/instance.cpp
ViewVC logotype

Diff of /trunk/pygtk/instance.cpp

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

revision 902 by johnpye, Sat Oct 7 06:55:11 2006 UTC revision 903 by johnpye, Wed Oct 25 13:07:12 2006 UTC
# Line 173  Instanc::isAtom() const{ Line 173  Instanc::isAtom() const{
173    
174  const bool  const bool
175  Instanc::isFixed() const{  Instanc::isFixed() const{
176      if(getKind()==REAL_ATOM_INST && getType().isRefinedSolverVar()){      if(getKind()==REAL_ATOM_INST && !isFund() && getType().isRefinedSolverVar()){
177          return getChild("fixed").getBoolValue();          return getChild("fixed").getBoolValue();
178      }      }
179      throw runtime_error("Instanc::isFixed: Not a solver_var");      throw runtime_error("Instanc::isFixed: Not a solver_var");

Legend:
Removed from v.902  
changed lines
  Added in v.903

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