Skip to content

fix the example scripts and isadjoint #29

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

Merged
merged 6 commits into from
Jan 31, 2022
Merged

fix the example scripts and isadjoint #29

merged 6 commits into from
Jan 31, 2022

Conversation

ziyiyin97
Copy link
Member

@ziyiyin97 ziyiyin97 commented Jan 31, 2022

  1. Fix operators in the examples which are deprecated
  2. Fix isadjoint for real domain and complex range operators

@mloubout
Copy link
Member

Examples are small so maybe add them to CI, GTG.

@ziyiyin97
Copy link
Member Author

Also fix the isadjoint so it works for real domain and complex range (or vice versa). Let me know if this looks ok

@ziyiyin97 ziyiyin97 requested a review from mloubout January 31, 2022 17:07
- name: Build JOLI
uses: julia-actions/julia-buildpkg@latest

- name: Run examples
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's overkill for this small, just add that one step to the standard CI.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@ziyiyin97 ziyiyin97 changed the title fix the example scripts fix the example scripts and isadjoint Jan 31, 2022
working-directory: examples
run: |
julia -e 'using Pkg; Pkg.add("JOLI")'
julia -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()))'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's adding JOLI twice, once in add and once in dev. JOLi already instantiated an simple julia --project should be enough

@mloubout mloubout merged commit 6c9fd3b into master Jan 31, 2022
@ziyiyin97 ziyiyin97 deleted the fixexample branch January 31, 2022 19:57
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.

2 participants