Skip to content

Commit

Permalink
magma - update restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylt committed Dec 14, 2021
1 parent 4353007 commit c7df0e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/magma/ceed-magma-restriction.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static int CeedElemRestrictionApply_Magma(CeedElemRestriction r,
CeedScalar *dv;

ierr = CeedVectorGetArrayRead(u, CEED_MEM_DEVICE, &du); CeedChkBackend(ierr);
ierr = CeedVectorGetArray(v, CEED_MEM_DEVICE, &dv); CeedChkBackend(ierr);
ierr = CeedVectorGetArrayWrite(v, CEED_MEM_DEVICE, &dv); CeedChkBackend(ierr);

bool isStrided;
ierr = CeedElemRestrictionIsStrided(r, &isStrided); CeedChkBackend(ierr);
Expand Down

0 comments on commit c7df0e5

Please sign in to comment.