Skip to content

Fix multiple definition of global variables in the CortexSuite lda benchmark#2

Open
aaronsm wants to merge 1 commit intoefeslab:masterfrom
aaronsm:multidef
Open

Fix multiple definition of global variables in the CortexSuite lda benchmark#2
aaronsm wants to merge 1 commit intoefeslab:masterfrom
aaronsm:multidef

Conversation

@aaronsm
Copy link

@aaronsm aaronsm commented Feb 4, 2025

Global variables should not be defined in header files as this leads to multiple definitions which prevents linking. Move the globals from lda-inference.h into lda-inference.c and provide forward declartions in the header.

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.

1 participant