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

Modularisation #9

Merged
merged 8 commits into from
May 24, 2024
Merged

Modularisation #9

merged 8 commits into from
May 24, 2024

Conversation

Devetak
Copy link
Collaborator

@Devetak Devetak commented May 22, 2024

Creates macros for 'inheritance' making the creation of custom types simpler. The macro is to be used inside a struct to ensure all the necessary fields are present in the struct. Like

struct Worker <: AbstractWorker
      @worker
      new_property
end

by default all the entries are either Float64, Int or vectors of them as appropriate. One can specify other types by passing values to the macro.

@Devetak Devetak requested a review from AldoGl May 22, 2024 13:19
@AldoGl
Copy link
Collaborator

AldoGl commented May 23, 2024

Excellent work @Devetak! I'll try to correct the error in the docs and then we can merge

@AldoGl
Copy link
Collaborator

AldoGl commented May 24, 2024

rebasing and merging

@AldoGl AldoGl merged commit eeaff01 into main May 24, 2024
2 checks passed
@AldoGl AldoGl deleted the modularisation branch May 24, 2024 07:24
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