Skip to content

Conversation

@sebnaze
Copy link
Contributor

@sebnaze sebnaze commented Mar 13, 2024

When using simulateBOLD() externally with default initialization, the F vector is set to zeros, which throws a division by zero error down the line in numba.
This can be avoided by setting F with a small epsilon before using it in the calculation of other state variables.
Might be related to issue #250.

@lenasal lenasal merged commit 9b6b2b8 into neurolib-dev:master Dec 18, 2024
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.

2 participants