Changeset 11855
- Timestamp:
- 04/02/12 12:02:14 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/toolkits/issm/SeqVec.cpp
r11853 r11855 233 233 switch(mode){ 234 234 case NORM_INF: 235 norm=0; for(i=0;i<this->M;i++)norm= fmax(norm,fabs(this->vector[i]));235 norm=0; for(i=0;i<this->M;i++)norm=max(norm,fabs(this->vector[i])); 236 236 return norm; 237 237 break;
Note:
See TracChangeset
for help on using the changeset viewer.