Skip to content

Commit

Permalink
skipping over function defs that cause issues
Browse files Browse the repository at this point in the history
  • Loading branch information
KMarkert committed Aug 9, 2021
1 parent 964c48e commit d5d3579
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/eefuncs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ modules = [

mod_methods = OrderedDict()

excludefuncs = ["product","cat"]

# loop over the modules
for mod in modules
# get the module functions and add to dict
Expand All @@ -65,7 +67,7 @@ for mod in modules
for submethod in submethods
submethod = convert(AbstractString, submethod)
# check if submethod is not private
if ~startswith(submethod, "_")
if ~startswith(submethod, "_") & ~(submethod in excludefuncs)
m = Symbol(submethod)
# create a julia function of the public methods
@eval begin
Expand Down

0 comments on commit d5d3579

Please sign in to comment.