diff --git a/Project.toml b/Project.toml index 953cd6a..bfaf533 100644 --- a/Project.toml +++ b/Project.toml @@ -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" diff --git a/src/TestHandcalcFunctions.jl b/src/TestHandcalcFunctions.jl index d6d389f..6d908ad 100644 --- a/src/TestHandcalcFunctions.jl +++ b/src/TestHandcalcFunctions.jl @@ -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 @@ -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