Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
Remove console from ANN pulsing external function
Browse files Browse the repository at this point in the history
  • Loading branch information
daedsidog committed Apr 25, 2019
1 parent 784b29c commit e8bcf77
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Fanna/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,9 @@ extern "C" int __declspec(dllexport) build_fanna_database(PI, int samples) {
return 1;
}
extern "C" double __declspec(dllexport) pulse_fanna(PI) {
init_console();
pair_info pi = pair_info(PIARGS);
net ann(&pi);
double sentiment = ann.pulse();
free_console();
return sentiment;
}
#ifdef _DEBUG
Expand Down

0 comments on commit e8bcf77

Please sign in to comment.