Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 197 Bytes

README.md

File metadata and controls

12 lines (11 loc) · 197 Bytes

3.40

void fix_set_diag_opt(fix_martix A, int val) {
    int* Aptr = &A[0][0];
    int* Aend = &A[N][N];
    do {
      *Aptr = val;
      Aptr += N + 1;
    } while (Aptr != Aend);
}