Skip to content

Commit

Permalink
Squash
Browse files Browse the repository at this point in the history
  • Loading branch information
corbett5 committed May 21, 2024
1 parent 248476a commit 47a97cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/indexset.jl
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,9 @@ function replaceinds(is::Indices, inds1, inds2; ignoreSpaceError::Bool=false)
return (is_tuple)
end

replaceind(is::Indices, i1::Index, i2::Index; ignoreSpaceError::Bool=false) = replaceinds(is, (i1,), (i2,); ignoreSpaceError)
function replaceind(is::Indices, i1::Index, i2::Index; ignoreSpaceError::Bool=false)
return replaceinds(is, (i1,), (i2,); ignoreSpaceError)
end

function replaceind(is::Indices, i1::Index, i2::Indices)
length(i2) != 1 &&
Expand Down

0 comments on commit 47a97cd

Please sign in to comment.