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
gaoqiong
MIGraphX
Commits
4f053f22
Commit
4f053f22
authored
Mar 21, 2023
by
Paul
Browse files
Fix serialization
parent
cefe7988
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/include/migraphx/serialize.hpp
src/include/migraphx/serialize.hpp
+1
-2
No files found.
src/include/migraphx/serialize.hpp
View file @
4f053f22
...
...
@@ -215,8 +215,7 @@ void from_value_impl(rank<6>, const value& v, optional<T>& x)
template
<
class
T
,
MIGRAPHX_REQUIRES
(
std
::
is_arithmetic
<
T
>{})
>
void
from_value_impl
(
rank
<
7
>
,
const
value
&
v
,
T
&
x
)
{
if
(
not
v
.
is_null
())
x
=
from_value
<
T
>
(
v
);
x
=
v
.
to
<
T
>
();
}
template
<
class
T
,
MIGRAPHX_REQUIRES
(
std
::
is_enum
<
T
>{})
>
...
...
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