你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-08 07:24:19 +08:00
Remove default value from GridType
这个提交包含在:
@@ -18,13 +18,11 @@
|
|||||||
|
|
||||||
|
|
||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
from typing import Generic
|
from typing import Generic, TypeVar
|
||||||
|
|
||||||
from typing_extensions import TypeVar
|
|
||||||
|
|
||||||
from gprMax.grid.fdtd_grid import FDTDGrid
|
from gprMax.grid.fdtd_grid import FDTDGrid
|
||||||
|
|
||||||
GridType = TypeVar("GridType", bound=FDTDGrid, default=FDTDGrid)
|
GridType = TypeVar("GridType", bound=FDTDGrid)
|
||||||
|
|
||||||
|
|
||||||
class Updates(Generic[GridType], ABC):
|
class Updates(Generic[GridType], ABC):
|
||||||
|
在新工单中引用
屏蔽一个用户