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

Forward compatibility for batch lazy-loading in SPM devel #87

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

Conversation

gllmflndn
Copy link
Contributor

What does this PR do?

In a future version of SPM, batch modules can be evaluated on request instead of at start time (lazy-loading). As a consequence, this means that the .val field of a module can contain a function handle which, when executed, will return the parameters of a module, instead of directly containing the parameters themselves (as in SPM12).

The proposed change guarantees that SnPM will work with current and future versions of SPM for that matter.

Link to relevant issues

PR submission checklist

  • Run the tests (cf. instructions)
  • Copy/paste the test report in a comment below
  • All tests in the test suite pass

Tests fail because they rely on nansum() from the Statistics toolbox, which is not installed on my system.

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