Skip to content
Snippets Groups Projects
Commit 673e8375 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Project inlined if

parent cde143a7
No related branches found
No related tags found
No related merge requests found
......@@ -283,7 +283,7 @@ error otherwise.\n\
static PyObject* PyBobLearnActivation_call(PyBobLearnActivationObject* self,
PyObject* args, PyObject* kwds) {
Py_ssize_t nargs = args?PyTuple_Size(args):0 + kwds?PyDict_Size(kwds):0;
Py_ssize_t nargs = (args?PyTuple_Size(args):0) + (kwds?PyDict_Size(kwds):0);
switch (nargs) {
......@@ -335,7 +335,7 @@ error otherwise.\n\
static PyObject* PyBobLearnActivation_f_prime(PyBobLearnActivationObject* self,
PyObject* args, PyObject* kwds) {
Py_ssize_t nargs = args?PyTuple_Size(args):0 + kwds?PyDict_Size(kwds):0;
Py_ssize_t nargs = (args?PyTuple_Size(args):0) + (kwds?PyDict_Size(kwds):0);
switch (nargs) {
......@@ -387,7 +387,7 @@ error otherwise.\n\
static PyObject* PyBobLearnActivation_f_prime_from_f
(PyBobLearnActivationObject* self, PyObject* args, PyObject* kwds) {
Py_ssize_t nargs = args?PyTuple_Size(args):0 + kwds?PyDict_Size(kwds):0;
Py_ssize_t nargs = (args?PyTuple_Size(args):0) + (kwds?PyDict_Size(kwds):0);
switch (nargs) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment