Skip to content

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