Skip to content

Missing "return true" at the end of the ann_callback.#35

Open
zard99 wants to merge 1 commit into
bukka:masterfrom
zard99:patch-1
Open

Missing "return true" at the end of the ann_callback.#35
zard99 wants to merge 1 commit into
bukka:masterfrom
zard99:patch-1

Conversation

@zard99

@zard99 zard99 commented Jun 14, 2018

Copy link
Copy Markdown

According to the documentation, the return value should be specified. Furthermore, if no return value is specified, the callback will be called only once, and not the number specified in $epochs_between_reports (personally tested).

According to the documentation (http://php.net/manual/en/function.fann-set-callback.php), the return value should be specified. Furthermore, if no return value is specified, the callback will be called only once, and not the number specified in $epochs_between_reports (personally tested).
@timkolm

timkolm commented Jul 6, 2019

Copy link
Copy Markdown

Man you saved my life! The problem I was fighting with entire day!

@zard99

zard99 commented Jul 6, 2019

Copy link
Copy Markdown
Author

Man you saved my life! The problem I was fighting with entire day!

I'm glad this helped you! I was having a lot of problems because of this, too. It was driving me crazy, I won't forget that day hahahaha

@zard99 zard99 closed this Jul 6, 2019
@zard99 zard99 reopened this Jul 6, 2019
@zard99

zard99 commented Jul 6, 2019

Copy link
Copy Markdown
Author

Oops, I inadvertently pressed the wrong button, sorry. I didn't want to close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants