mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Apply coding style recommendations:
- space between keyword and bracket in 'for(..)', 'if(..)', 'while(..)'
This commit is contained in:
@ -412,7 +412,7 @@ template<template<class> class Field, class Type>
|
||||
Type max(const FieldField<Field, Type>& f)
|
||||
{
|
||||
label i = 0;
|
||||
while(i < f.size() && !f[i].size()) i++;
|
||||
while (i < f.size() && !f[i].size()) i++;
|
||||
|
||||
if (i < f.size())
|
||||
{
|
||||
@ -440,12 +440,12 @@ template<template<class> class Field, class Type>
|
||||
Type min(const FieldField<Field, Type>& f)
|
||||
{
|
||||
label i = 0;
|
||||
while(i < f.size() && !f[i].size()) i++;
|
||||
while (i < f.size() && !f[i].size()) i++;
|
||||
|
||||
if (i < f.size())
|
||||
{
|
||||
label i = 0;
|
||||
while(!f[i].size()) i++;
|
||||
while (!f[i].size()) i++;
|
||||
|
||||
Type Min(min(f[i]));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user