Commits

Lisandro Dalcin committed 1500f05

Quick fix for IGADrawVec()

  • Participants
  • Parent commits c32b570

Comments (0)

Files changed (1)

   e = index / p;
   i = index % p;
   if (PetscUnlikely(e == axis->nel))
-    return axis->U[axis->span[e-1] + p + 1];
+    return axis->U[axis->span[e-1] + 1];
   k  = axis->span[e];
   u0 = axis->U[k];
   u1 = axis->U[k+1];