diff --git a/src/OpenFOAM/matrices/Matrix/Matrix.C b/src/OpenFOAM/matrices/Matrix/Matrix.C index 14e6911166dfa777343e38f48e389131ac60e8e2..f1fa2869c5c5fa20c9732d5762e62e674a49c448 100644 --- a/src/OpenFOAM/matrices/Matrix/Matrix.C +++ b/src/OpenFOAM/matrices/Matrix/Matrix.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -652,7 +652,7 @@ inline Foam::tmp<Foam::Field<Type>> Foam::operator* << abort(FatalError); } - tmp<Field<Type>> tMf(new Field<Type>(f.size(), Zero)); + tmp<Field<Type>> tMf(new Field<Type>(M.m(), Zero)); Field<Type>& Mf = tMf.ref(); for (label i=0; i<M.m(); i++)