mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-11-19 06:30:29 +01:00
arrays in julia start at 1
This commit is contained in:
parent
986dc7748f
commit
c2e1fa55f3
@ -232,7 +232,7 @@ function replace_all!{T}(W::GWord{T}, subst_dict::Dict{GWord{T}, GWord{T}})
|
||||
i = findfirst(W, toreplace)
|
||||
while i ≠ 0
|
||||
replace!(W,i,toreplace, replacement)
|
||||
i = findnext(W, toreplace, i-1)
|
||||
i = findnext(W, toreplace, i)
|
||||
end
|
||||
end
|
||||
return W
|
||||
|
Loading…
Reference in New Issue
Block a user