From 63042ab0ad60b508f90366eb09bda8ddbe3ad142 Mon Sep 17 00:00:00 2001 From: nmannall Date: Thu, 18 Jul 2024 17:06:01 +0100 Subject: [PATCH] Remove default value from GridType --- gprMax/updates/updates.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gprMax/updates/updates.py b/gprMax/updates/updates.py index 18a3868b..d1a2563f 100644 --- a/gprMax/updates/updates.py +++ b/gprMax/updates/updates.py @@ -18,13 +18,11 @@ from abc import ABC, abstractmethod -from typing import Generic - -from typing_extensions import TypeVar +from typing import Generic, TypeVar from gprMax.grid.fdtd_grid import FDTDGrid -GridType = TypeVar("GridType", bound=FDTDGrid, default=FDTDGrid) +GridType = TypeVar("GridType", bound=FDTDGrid) class Updates(Generic[GridType], ABC):