Commit 682c247e authored by mattijs's avatar mattijs
Browse files

gcc 4.2.1 compiler warning

parent c713c814
...@@ -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_
); );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment