diff --git a/src/mqt/qao/karp/karp_number.py b/src/mqt/qao/karp/karp_number.py index 9ed1ab6..e30cdc8 100644 --- a/src/mqt/qao/karp/karp_number.py +++ b/src/mqt/qao/karp/karp_number.py @@ -9,7 +9,7 @@ from collections import defaultdict from functools import partial from pathlib import Path -from typing import TYPE_CHECKING, Any, Literal, Union +from typing import TYPE_CHECKING, Any, Literal import matplotlib.pyplot as plt import networkx as nx @@ -209,7 +209,7 @@ def three_sat( solver_method: Callable[..., Any] | None = None, read_solution: Literal["print", "file"] | None = None, solver_params: dict[str, Any] | None = None, - ) -> Problem | dict[str, float] | Union[Problem, list[int]]: + ) -> Problem | dict[str, float] | list[int]: """Initializes and optionally solves the 3-SAT (Satisfiability) problem. Args: