Skip to content

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

Open
gllmflndn wants to merge 1 commit intoSnPM-toolbox:masterfrom
gllmflndn:loadfix
Open

Forward compatibility for batch lazy-loading in SPM devel#87
gllmflndn wants to merge 1 commit intoSnPM-toolbox:masterfrom
gllmflndn:loadfix

Conversation

@gllmflndn
Copy link
Copy Markdown
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