Skip to content

Conversation

@Jonah-Heyl
Copy link
Contributor

No description provided.

Copy link
Contributor Author

@Jonah-Heyl Jonah-Heyl left a comment

Choose a reason for hiding this comment

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

I add mu to the format_myst.jl dictionary

@Jonah-Heyl Jonah-Heyl changed the title Software_Engineering issue_250_software_engineering Jul 20, 2023
@Jonah-Heyl Jonah-Heyl changed the title issue_250_software_engineering issue_250_software_engineering #250 Jul 20, 2023
@Jonah-Heyl Jonah-Heyl changed the title issue_250_software_engineering #250 issue_250_software_engineering Jul 20, 2023
@Jonah-Heyl Jonah-Heyl marked this pull request as ready for review July 20, 2023 18:44
@github-actions
Copy link

github-actions bot commented Jul 20, 2023

function foo(μ = 1., σ = 2.)
d = Normal(μ, σ)
function foo(;mu = 1., sigma = 2.)
Copy link
Member

Choose a reason for hiding this comment

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

I would turn this back to foo(mu = 1., sigma = 2.)

YOu don't want to use keyword only functions very often. Just for those convenience constructors and occiaonlly a few other things.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have changed this and gone through and changed the function calls as well.

* Modify the `foo` function definition to add `println("Modified foo definition")` inside the function
```{code-block} julia
function foo(μ = 1., σ = 2.)
function foo(;mu = 1., sigma = 2.)
Copy link
Member

Choose a reason for hiding this comment

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

Same thing here and beyond. Don't use a kw only arguemnts.

Copy link
Contributor Author

@Jonah-Heyl Jonah-Heyl left a comment

Choose a reason for hiding this comment

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

In testing.md what should be done about the function on lines 140-148. The julia is v"1.8"

@jlperla jlperla merged commit d5c4371 into main Jul 24, 2023
@jlperla jlperla deleted the Software_Engineering branch August 28, 2023 16: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.

4 participants