Changeset 1184 for applications/pmsm/simulator_zdenek
- Timestamp:
- 09/10/10 11:11:41 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/pmsm/simulator_zdenek/ekf_example/matrix_vs.cpp
r1182 r1184 217 217 sigma += (((long)(*PSIU_ik)**PSIU_ik)>>15)*(*Dold_i); 218 218 } 219 sigma += *(Q+i+irows) ;219 sigma += *(Q+i+irows)<<15; 220 220 for (j=i+1, G_ik=G+irows+i+1; j<rows; j++,G_ik++) { 221 221 sigma += (((long)(*G_ik)**G_ik)>>13)**(Q+j+j*rows);