Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 540730 Details for
Bug 645294
sci-libs/shogun-5.0.0 : /.../NeuralNetworkFileReader.cpp:54:6: error: is_error was not declared in this scope
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
shogun-5.0.0-NeuralNetworkFileReader_is_error.diff
shogun-5.0.0-NeuralNetworkFileReader_is_error.diff (text/plain), 636 bytes, created by
Juergen Rose
on 2018-07-24 17:28:57 UTC
(
hide
)
Description:
shogun-5.0.0-NeuralNetworkFileReader_is_error.diff
Filename:
MIME Type:
Creator:
Juergen Rose
Created:
2018-07-24 17:28:57 UTC
Size:
636 bytes
patch
obsolete
>--- shogun-5.0.0/src/shogun/io/NeuralNetworkFileReader.cpp_orig 2016-11-05 07:32:23.000000000 +0100 >+++ shogun-5.0.0/src/shogun/io/NeuralNetworkFileReader.cpp 2018-07-24 13:40:44.709131687 +0200 >@@ -51,7 +51,7 @@ > { > json_object* json_network = json_object_from_file(file_path); > >- if (is_error(json_network)) >+ if (json_network == nullptr) > { > SG_ERROR("Error while opening file: %s!\n", file_path); > return NULL; >@@ -68,7 +68,7 @@ > { > json_object* json_network = json_tokener_parse(str); > >- if (is_error(json_network)) >+ if (json_network == nullptr) > { > SG_ERROR("Error while parsing the given string\n"); > return NULL;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 645294
:
515762
|
515764
|
515766
|
515768
|
515770
|
515772
|
515774
| 540730 |
540732
|
540734