Skip to content

chore: implicit assignments#2664

Open
maelle wants to merge 1 commit into
mainfrom
implicit_assignment
Open

chore: implicit assignments#2664
maelle wants to merge 1 commit into
mainfrom
implicit_assignment

Conversation

@maelle
Copy link
Copy Markdown
Contributor

@maelle maelle commented May 26, 2026

Part of #2652

@maelle maelle requested a review from schochastics May 26, 2026 10:03
Comment thread R/hrg.R
for (k in 1:nMerge) {
x <- merges[k, 1:2]
if (any(neg <- x >= 0)) {
neg <- (x >= 0)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!!!!!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@krlmlr @schochastics small hackathon topic?

Comment thread R/par.R
mode(arg),
list = temp <- arg,
character = return(.igraph.pars[arg]),

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we can add an exception comment instead but I have to say I had trouble understanding the switch() call.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO switch only makes sense if it is more than 2 option OR if we expect that the list of options might grow in the future.

Independently, I also find this statement confusing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants