Skip to content

Commit 4fe1988

Browse files
committed
typo
1 parent 86de9a5 commit 4fe1988

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/fluid/checkDivB.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ real Fluid<Phys>::CheckDivB() {
4444
d3=0.5*(Ax3(k+1,j,i) + Ax3(k,j,i)); )
4545

4646

47-
const real amplitude += D_EXPAND( d1, + d2, + d3 );
47+
const real amplitude = D_EXPAND( d1, + d2, + d3 );
4848

4949
divBmax=FMAX(FABS(D_EXPAND(dB1, +dB2, +dB3))/amplitude,divBmax);
5050
},

0 commit comments

Comments
 (0)