mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Avoid gcc-4.3.1 warning: parentheses around comparison in operand of &
This commit is contained in:
@ -653,7 +653,7 @@ void Foam::meshCutAndRemove::setRefinement
|
||||
const edge& e = mesh().edges()[edgeI];
|
||||
|
||||
// Check if there is any cell using this edge.
|
||||
if (debug & findCutCell(cuts, mesh().edgeCells()[edgeI]) == -1)
|
||||
if (debug && findCutCell(cuts, mesh().edgeCells()[edgeI]) == -1)
|
||||
{
|
||||
FatalErrorIn
|
||||
(
|
||||
|
||||
@ -601,7 +601,7 @@ void Foam::meshCutter::setRefinement
|
||||
const edge& e = mesh().edges()[edgeI];
|
||||
|
||||
// Check if there is any cell using this edge.
|
||||
if (debug & findCutCell(cuts, mesh().edgeCells()[edgeI]) == -1)
|
||||
if (debug && findCutCell(cuts, mesh().edgeCells()[edgeI]) == -1)
|
||||
{
|
||||
FatalErrorIn
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user