Skip to content

Commit c19fda7

Browse files
Ren-createrCopilot
andauthored
fix: fixed abs path
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 437c47d commit c19fda7

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

evaluation_function/algorithms/utils.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@
1414
from typing import Optional
1515
from collections import defaultdict, deque
1616

17-
import sys
18-
import os
19-
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
20-
21-
from schemas.graph import Graph
17+
from ..schemas.graph import Graph
2218

2319

2420
# =============================================================================
2521
# UNION-FIND DATA STRUCTURE
2622
# =============================================================================
2723

24+
class UnionFind:
25+
# UNION-FIND DATA STRUCTURE
26+
# =============================================================================
27+
2828
class UnionFind:
2929
"""
3030
Union-Find (Disjoint Set Union) data structure with path compression

0 commit comments

Comments
 (0)