Skip to content

Commit

Permalink
Fix output in compose_to_string
Browse files Browse the repository at this point in the history
  • Loading branch information
Azzaare committed Mar 17, 2021
1 parent e4c70e5 commit ef0e3f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/learn.jl
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ function compose_to_string(symbols, name)
tr_length = length(symbols[1])

CN = "CompositionalNetworks."
tr = reduce_symbols(symbols[1], ", "; prefix=CN * "_tr_")
ar = reduce_symbols(symbols[2], ", ", false; prefix=CN * "_ar_")
ag = reduce_symbols(symbols[3], ", ", false; prefix=CN * "_ag_")
co = reduce_symbols(symbols[4], ", ", false; prefix=CN * "_co_")
tr = reduce_symbols(symbols[1], ", "; prefix=CN * "tr_")
ar = reduce_symbols(symbols[2], ", ", false; prefix=CN * "ar_")
ag = reduce_symbols(symbols[3], ", ", false; prefix=CN * "ag_")
co = reduce_symbols(symbols[4], ", ", false; prefix=CN * "co_")

julia_string = """
function $name(x; param=nothing, dom_size)
Expand Down

0 comments on commit ef0e3f0

Please sign in to comment.