/[ascend]/trunk/base/generic/compiler/relation_util.c
ViewVC logotype

Diff of /trunk/base/generic/compiler/relation_util.c

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

revision 1386 by jpye, Mon Mar 19 02:06:01 2007 UTC revision 1387 by jpye, Sat Apr 7 14:43:31 2007 UTC
# Line 2388  RelationCalcResidGrad(struct Instance *i Line 2388  RelationCalcResidGrad(struct Instance *i
2388      return RelationEvaluateResidualGradient(r, residual, gradient);      return RelationEvaluateResidualGradient(r, residual, gradient);
2389    }    }
2390    
2391      if(reltype == e_blackbox){
2392        return BlackBoxCalcResidGrad(i, residual, gradient, r);
2393      }
2394    
2395    assert(reltype >= TOK_REL_TYPE_LOW && reltype <= TOK_REL_TYPE_HIGH);    assert(reltype >= TOK_REL_TYPE_LOW && reltype <= TOK_REL_TYPE_HIGH);
2396    ERROR_REPORTER_HERE(ASC_PROG_ERR,"reltype not implemented");    ERROR_REPORTER_HERE(ASC_PROG_ERR,"reltype %d not implemented",reltype);
2397    return 1;    return 1;
2398  }  }
2399    

Legend:
Removed from v.1386  
changed lines
  Added in v.1387

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