Skip to content

Commit 334551b

Browse files
Fixed dimension in TPZMixedDarcyFlow
1 parent c1c3955 commit 334551b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Material/DarcyFlow/TPZMixedDarcyFlow.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ void TPZMixedDarcyFlow::Solution(const TPZVec<TPZMaterialDataT<STATE>> &datavec,
425425
if (var == 7) {
426426

427427
TPZVec<STATE> exactSol(1);
428-
TPZFNMatrix<3, STATE> gradu(3, 1);
428+
TPZFNMatrix<3, STATE> gradu(fDim, 1);
429429

430430
if (fExactSol) {
431431
fExactSol(datavec[0].x, exactSol, gradu);

0 commit comments

Comments
 (0)