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

Add checks on do_job to check construction is valid #319

Open
oerc0122 opened this issue Mar 5, 2021 · 0 comments
Open

Add checks on do_job to check construction is valid #319

oerc0122 opened this issue Mar 5, 2021 · 0 comments
Labels
bug Something isn't working Parallel Task needing parallelisation

Comments

@oerc0122
Copy link
Collaborator

oerc0122 commented Mar 5, 2021

Currently in the parallel framework it is possible to construct a job runner which is incompatible with the framework which does not error.

function do_job(obj)
    disp(obj)
end

The following in a job runner should fail as do_job does not return obj

@oerc0122 oerc0122 added bug Something isn't working Parallel Task needing parallelisation labels Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Parallel Task needing parallelisation
Projects
None yet
Development

No branches or pull requests

1 participant