".github/git@developer.sourcefind.cn:OpenDAS/autoawq.git" did not exist on "afcce1a11d5f9a2fa19858da6c43d8990837bd5b"
Commit 03f400aa authored by Davis King's avatar Davis King
Browse files

Fixed a bug in the deserialization code for the sparse kernels. The bug

prevented code which used the deserialization routine from compiling.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404030
parent e2fa9f32
......@@ -85,7 +85,7 @@ namespace dlib
std::istream& in
)
{
typedef typename T::type scalar_type;
typedef typename T::value_type::second_type scalar_type;
try
{
deserialize(const_cast<scalar_type&>(item.gamma), in);
......@@ -172,7 +172,7 @@ namespace dlib
std::istream& in
)
{
typedef typename T::type scalar_type;
typedef typename T::value_type::second_type scalar_type;
try
{
deserialize(const_cast<scalar_type&>(item.gamma), in);
......@@ -258,7 +258,7 @@ namespace dlib
std::istream& in
)
{
typedef typename T::type scalar_type;
typedef typename T::value_type::second_type scalar_type;
try
{
deserialize(const_cast<scalar_type&>(item.gamma), in);
......
Markdown is supported
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