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

Improvement of types PipeSimple and PipeLinepackSimple #27

Merged
merged 7 commits into from
Aug 21, 2024
Merged

Conversation

JulStraus
Copy link
Member

We used so far as @kwdef for both PipeSimple and PipeLinepackSimple. This approach required specifying all field names in the case one wanted to omit either the field directions or data. As this require an unnecessary amount of typing, it was changed to a standard composite type.

The field direction is still existing, but it is no longer possible to specify it. Previously, we used warnings in cases in which the value was not 1 as EMG does not support bidirectional pipeline transport. This potential source of error was now removed through the application of inner constructors.

Once this PR is merged, we will register v0.10 of EMG.

@JulStraus JulStraus added the enhancement New feature or request label Aug 21, 2024
Fixed a few typos
reverse mistake in list notation
Fixed typo
Copy link
Member

@espenfb espenfb left a comment

Choose a reason for hiding this comment

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

Fixed some typos and suggested some syntax changes.

src/legacy_constructors.jl Outdated Show resolved Hide resolved
src/legacy_constructors.jl Outdated Show resolved Hide resolved
docs/make.jl Outdated Show resolved Hide resolved
src/legacy_constructors.jl Outdated Show resolved Hide resolved
src/legacy_constructors.jl Outdated Show resolved Hide resolved
src/structures/mode.jl Outdated Show resolved Hide resolved
src/structures/mode.jl Outdated Show resolved Hide resolved
src/structures/mode.jl Outdated Show resolved Hide resolved
src/structures/mode.jl Outdated Show resolved Hide resolved
@JulStraus
Copy link
Member Author

Fixed some typos and suggested some syntax changes.

I added all suggestions for the typos as they make sense in my opinion.

@JulStraus JulStraus requested a review from espenfb August 21, 2024 09:18
@JulStraus JulStraus merged commit 64a0782 into main Aug 21, 2024
5 checks passed
@JulStraus JulStraus deleted the enhanc/types branch August 21, 2024 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants