Skip to content

Conversation

@iamsaswata
Copy link
Owner

Summary

Removes duplicate continue statement that is unreachable dead code.

Problem

In core.py at lines 323-324:

if id_y[i] == 0:
    self.data[:, id_x[i], id_y[i]] = np.nan
    continue
    continue  # <-- This is unreachable

The second continue statement can never be executed because the first one already jumps out of the loop.

Solution

Removed the duplicate/unreachable continue statement.

Changes

  • File: imdlib/core.py
  • Line 324: Removed duplicate continue statement

Removed unreachable duplicate continue statement at line 324 in core.py.

The second continue statement was unreachable dead code, likely
added by mistake during copy-paste or editing.
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