Skip to content

Commit db939f5

Browse files
committed
cleaner definition of ng_vect
1 parent 5460b51 commit db939f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/Base/AMReX_MultiFabUtil.H

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ void average_face_to_cellcenter (CMF& cc, int dcomp,
916916
const Array<const FMF*,AMREX_SPACEDIM>& fc,
917917
int ngrow)
918918
{
919-
IntVect ng_vect = IntVect(AMREX_D_DECL(ngrow,ngrow,ngrow));
919+
IntVect ng_vect(ngrow);
920920
average_face_to_cellcenter(cc, dcomp, fc, ng_vect);
921921
}
922922

0 commit comments

Comments
 (0)