/[escript]/trunk/escript/src/DataArrayView.h
ViewVC logotype

Diff of /trunk/escript/src/DataArrayView.h

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

revision 105 by jgs, Wed Dec 15 07:08:39 2004 UTC revision 106 by jgs, Thu Dec 23 07:20:12 2004 UTC
# Line 698  double Line 698  double
698  DataArrayView::dp_algorithm(ValueType::size_type leftOffset,  DataArrayView::dp_algorithm(ValueType::size_type leftOffset,
699                              UnaryFunction operation)                              UnaryFunction operation)
700  {  {
701      operation.resetResult();
702    for (ValueType::size_type i=0;i<(noValues(m_shape));i++) {    for (ValueType::size_type i=0;i<(noValues(m_shape));i++) {
703      operation((*m_data)[i+leftOffset]);      operation((*m_data)[i+leftOffset]);
704    }    }

Legend:
Removed from v.105  
changed lines
  Added in v.106

  ViewVC Help
Powered by ViewVC 1.1.26