Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zard99
Copy link

@zard99 zard99 commented Jun 14, 2018

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
Copy link

timkolm commented Jul 6, 2019

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

@zard99
Copy link
Author

zard99 commented Jul 6, 2019

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
Copy link
Author

zard99 commented Jul 6, 2019

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