Changeset 1913 in Sophya for trunk/SophyaPI/PIext
- Timestamp:
- Feb 26, 2002, 6:36:44 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pawexecut.cc
r1912 r1913 591 591 return;} 592 592 uint_4 n = v->Size(); 593 if(n <=0)593 if(n==0) 594 594 {cout<<"PAWExecutor::v_integ Error: "<<tokens[0]<<" is an empty vector"<<endl; 595 595 return;} … … 597 597 if(norm<=0. || (*v)(n-1)==0.) return; 598 598 norm /= (*v)(n-1); 599 for( int_4 i=0;i<n;i++) (*v)(i) *= norm;599 for(uint_4 i=0;i<n;i++) (*v)(i) *= norm; 600 600 } 601 601 … … 641 641 return;} 642 642 uint_4 n = v->Size(); 643 if(n <=0)643 if(n==0) 644 644 {cout<<"PAWExecutor::v_deriv Error: "<<tokens[0]<<" is an empty vector"<<endl; 645 645 return;}
Note:
See TracChangeset
for help on using the changeset viewer.