Skip to content

Fix mutable default argument and incorrect file loading order - #3

Closed
liincu4n wants to merge 1 commit into
sccn:developfrom
liincu4n:patch-1
Closed

Fix mutable default argument and incorrect file loading order#3
liincu4n wants to merge 1 commit into
sccn:developfrom
liincu4n:patch-1

Conversation

@liincu4n

Copy link
Copy Markdown
Contributor
  1. Moved _cache from get_eeglab function signature to a module-level global variable to prevent unintended state persistence across calls.
  2. Fixed file loading order in OctaveWrapper: ensured pop_saveset writes data before calling pop_loadset, preventing potential runtime errors.

1) Moved _cache from get_eeglab function signature to a module-level global variable to prevent unintended state persistence across calls.
2) Fixed file loading order in OctaveWrapper: ensured pop_saveset writes data before calling pop_loadset, preventing potential runtime errors.
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