Revision 1656 trunk/src/linad99/d3arr2a.cpp

d3arr2a.cpp (revision 1656)
154 154
      double tmp=0.0;
155 155
      for (int k=m.slicemin();k<=m.slicemax();k++)
156 156
      {
157
	tmp+=norm2(m(k));
157
        tmp+=norm2(m(k));
158 158
      }
159 159
      tmp=sqrt(tmp);
160 160
      return tmp;
......
169 169
      double tmp=0.0;
170 170
      for (int k=m.slicemin();k<=m.slicemax();k++)
171 171
      {
172
	tmp+=norm2(m(k));
172
         tmp+=norm2(m(k));
173 173
      }
174 174
      return tmp;
175 175
    }

Also available in: Unified diff