/[escript]/trunk/escriptcore/py_src/pdetools.py
ViewVC logotype

Diff of /trunk/escriptcore/py_src/pdetools.py

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

revision 6414 by gross, Wed Nov 2 02:44:31 2016 UTC revision 6415 by gross, Wed Nov 2 02:46:34 2016 UTC
# Line 433  class Locator(object): Line 433  class Locator(object):
433             else:             else:
434               # workaround for bug #391               # workaround for bug #391
435               if dat.isComplex():               if dat.isComplex():
                  print "DDD"  
436                   out=numpy.array(dat.real().getTupleForGlobalDataPoint(*ii))+1j*numpy.array(dat.imag().getTupleForGlobalDataPoint(*ii))                   out=numpy.array(dat.real().getTupleForGlobalDataPoint(*ii))+1j*numpy.array(dat.imag().getTupleForGlobalDataPoint(*ii))
437               else:               else:
438                   out=numpy.array(dat.getTupleForGlobalDataPoint(*ii))                   out=numpy.array(dat.getTupleForGlobalDataPoint(*ii))

Legend:
Removed from v.6414  
changed lines
  Added in v.6415

  ViewVC Help
Powered by ViewVC 1.1.26