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
OpenDAS
dlib
Commits
9635f785
Commit
9635f785
authored
Oct 05, 2016
by
Jan Rüegg
Committed by
Davis E. King
Oct 05, 2016
Browse files
Unreachable code, fixed compiler warning (#272)
* Unreachable code, fixed compiler warning * Update simd4f.h
parent
1e53e779
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dlib/simd/simd4f.h
dlib/simd/simd4f.h
+4
-4
No files found.
dlib/simd/simd4f.h
View file @
9635f785
...
@@ -198,7 +198,7 @@ namespace dlib
...
@@ -198,7 +198,7 @@ namespace dlib
#endif
#endif
}
}
inline
simd4f
&
operator
+=
(
simd4f
&
lhs
,
const
simd4f
&
rhs
)
inline
simd4f
&
operator
+=
(
simd4f
&
lhs
,
const
simd4f
&
rhs
)
{
return
lhs
=
lhs
+
rhs
;
return
lhs
;}
{
lhs
=
lhs
+
rhs
;
return
lhs
;
}
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
...
@@ -214,7 +214,7 @@ namespace dlib
...
@@ -214,7 +214,7 @@ namespace dlib
#endif
#endif
}
}
inline
simd4f
&
operator
-=
(
simd4f
&
lhs
,
const
simd4f
&
rhs
)
inline
simd4f
&
operator
-=
(
simd4f
&
lhs
,
const
simd4f
&
rhs
)
{
return
lhs
=
lhs
-
rhs
;
return
lhs
;}
{
lhs
=
lhs
-
rhs
;
return
lhs
;
}
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
...
@@ -230,7 +230,7 @@ namespace dlib
...
@@ -230,7 +230,7 @@ namespace dlib
#endif
#endif
}
}
inline
simd4f
&
operator
*=
(
simd4f
&
lhs
,
const
simd4f
&
rhs
)
inline
simd4f
&
operator
*=
(
simd4f
&
lhs
,
const
simd4f
&
rhs
)
{
return
lhs
=
lhs
*
rhs
;
return
lhs
;}
{
lhs
=
lhs
*
rhs
;
return
lhs
;
}
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
...
@@ -246,7 +246,7 @@ namespace dlib
...
@@ -246,7 +246,7 @@ namespace dlib
#endif
#endif
}
}
inline
simd4f
&
operator
/=
(
simd4f
&
lhs
,
const
simd4f
&
rhs
)
inline
simd4f
&
operator
/=
(
simd4f
&
lhs
,
const
simd4f
&
rhs
)
{
return
lhs
=
lhs
/
rhs
;
return
lhs
;}
{
lhs
=
lhs
/
rhs
;
return
lhs
;
}
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
...
...
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