Skip to content
Snippets Groups Projects
Commit 682c247e authored by mattijs's avatar mattijs
Browse files

gcc 4.2.1 compiler warning

parent c713c814
No related branches found
No related tags found
No related merge requests found
...@@ -54,9 +54,11 @@ Foam::Field<T> Foam::channelIndex::collapse ...@@ -54,9 +54,11 @@ Foam::Field<T> Foam::channelIndex::collapse
) const ) const
{ {
// Average and order // Average and order
const Field<T> summedField(regionSum(cellField));
Field<T> regionField Field<T> regionField
( (
regionSum(cellField) summedField
/ regionCount_, / regionCount_,
sortMap_ sortMap_
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment