BUG: solitaryWaveModel: avoid reference access to an operand object (Fixes #2178)

This commit is contained in:
Kutalmis Bercin
2021-09-02 14:37:50 +01:00
committed by Sergio Ferraris
parent b053e2214c
commit c8db0d135f

View File

@ -6,7 +6,7 @@
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Copyright (C) 2015 IH-Cantabria Copyright (C) 2015 IH-Cantabria
Copyright (C) 2016-2017 OpenCFD Ltd. Copyright (C) 2016-2021 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
@ -63,7 +63,7 @@ protected:
scalar waveAngle_; scalar waveAngle_;
//- //-
const scalarField& x_; const scalarField x_;
const scalar x0_; const scalar x0_;