/[escript]/trunk/downunder/py_src/inversioncostfunctions.py
ViewVC logotype

Diff of /trunk/downunder/py_src/inversioncostfunctions.py

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

revision 4385 by gross, Mon Apr 22 03:16:24 2013 UTC revision 4386 by jfenwick, Tue Apr 30 02:58:02 2013 UTC
# Line 119  class InversionCostFunction(MeteredCostF Line 119  class InversionCostFunction(MeteredCostF
119            
120          trafo =  regularization.getCoordinateTransformation()          trafo =  regularization.getCoordinateTransformation()
121          for m in self.forward_models :          for m in self.forward_models :
122           if not m.getCoordinateTransformation() == trafo:           if not m[0].getCoordinateTransformation() == trafo:
123             raise ValueError("Coordinate transformation for regularization and model %m don't match.")             raise ValueError("Coordinate transformation for regularization and model %m don't match.")
124    
125          self.numMappings=len(self.mappings)          self.numMappings=len(self.mappings)

Legend:
Removed from v.4385  
changed lines
  Added in v.4386

  ViewVC Help
Powered by ViewVC 1.1.26