Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
f34f9b38
Commit
f34f9b38
authored
Mar 22, 2016
by
Henry Weller
Browse files
zero: Return Zero rather than zero()
parent
554b9650
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/primitives/zero/zeroI.H
View file @
f34f9b38
...
...
@@ -59,19 +59,19 @@ inline Type operator-(const zero&, const Type& t)
template
<
class
Type
>
inline
zero
operator
*
(
const
Type
&
t
,
const
zero
&
)
{
return
z
ero
()
;
return
Z
ero
;
}
template
<
class
Type
>
inline
zero
operator
*
(
const
zero
&
,
const
Type
&
t
)
{
return
z
ero
()
;
return
Z
ero
;
}
template
<
class
Type
>
inline
zero
operator
/
(
const
zero
&
,
const
Type
&
t
)
{
return
z
ero
()
;
return
Z
ero
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment