another gen -> str

This commit is contained in:
kalmar 2017-05-15 09:50:26 +02:00
parent 9847f8addf
commit 51b7b7a748
1 changed files with 2 additions and 2 deletions

View File

@ -166,8 +166,8 @@ function change_pow(s::AutSymbol, n::Int)
elseif symbol == :id
return s
else
warn("Changing an unknown type of symbol! $s")
return AutSymbol(s.gen, n, s.ex, s.func)
warn("Changing power of an unknown type of symbol! $s")
return AutSymbol(s.str, n, s.ex, s.func)
end
end