Skip to content

Commit

Permalink
update sub_module_func
Browse files Browse the repository at this point in the history
  • Loading branch information
co1emi11er2 committed Dec 5, 2024
1 parent f7a6407 commit dfd0f31
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "TestHandcalcFunctions"
uuid = "6ba57fb7-81df-4b24-8e8e-a3885b6fcae7"
authors = ["Cole Miller"]
version = "0.2.3"
version = "0.2.4"

[compat]
julia = "1.10"
Expand Down
14 changes: 10 additions & 4 deletions src/TestHandcalcFunctions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,16 @@ end

module SubA

sub_module_func(a, b) = c = a * b

module SubB
sub_module_func(a, b) = c = a + b
sub_module_func(a, b) = c2 = a + b
end

function sub_module_func(a, b)
c1 = a * b
c2 = SubB.sub_module_func(a, b)

return c1, c2
end
end

Expand Down Expand Up @@ -94,8 +101,7 @@ end

function test_function_finder(a, b)
I = calc_Is(a, b)
c1 = SubA.sub_module_func(a, b)
c2 = SubA.SubB.sub_module_func(a, b)
c1, c2 = SubA.sub_module_func(a, b)

return c1, c2
end
Expand Down

2 comments on commit dfd0f31

@co1emi11er2
Copy link
Owner Author

Choose a reason for hiding this comment

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

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/120746

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.4 -m "<description of version>" dfd0f3164ac15d92ab59610adfd111d5a4ef446d
git push origin v0.2.4

Please sign in to comment.