We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4bb58f4 + e46a59b commit c2566c7Copy full SHA for c2566c7
src/dict_build.jl
@@ -5,7 +5,11 @@ function build_indvar_dict(ex)
5
arg = ex.args[i].args[1] #Get the first thing, should be dsomething
6
firstarg = Symbol(first(string(arg))) # Check for d
7
if firstarg == :d
8
- nodarg = Symbol(join(drop(string(arg), 1))) # join(drop(s, 1)) is 2:end
+ @static if VERSION < v"0.6.0-dev.1015"
9
+ nodarg = Symbol(join(drop(string(arg), 1))) # join(drop(s, 1)) is 2:end
10
+ else
11
+ nodarg = Symbol(join(Base.Iterators.drop(string(arg), 1))) # join(drop(s, 1)) is 2:end
12
+ end
13
if !haskey(indvar_dict,nodarg)
14
cur_sym += 1
15
indvar_dict[nodarg] = cur_sym
0 commit comments