Skip to content

Commit 828f52d

Browse files
committed
update for pymor 2024.2
1 parent cf54ad1 commit 828f52d

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

lib/pybind11

Submodule pybind11 updated 251 files

src/pymor_dealii/pymor/vectorarray.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,23 +88,22 @@ class DealIIVectorSpace(ComplexifiedListVectorSpace):
8888

8989
real_vector_type = DealIIVector
9090

91-
def __init__(self, dim, id=None):
91+
def __init__(self, dim):
9292
self.__auto_init(locals())
9393

9494
def __eq__(self, other):
9595
return (
9696
type(other) is DealIIVectorSpace
9797
and self.dim == other.dim
98-
and self.id == other.id
9998
)
10099

101100
@classmethod
102-
def space_from_vector_obj(cls, vec, id):
103-
return cls(vec.size(), id)
101+
def space_from_vector_obj(cls, vec):
102+
return cls(vec.size())
104103

105104
@classmethod
106-
def space_from_dim(cls, dim, id):
107-
return cls(dim, id)
105+
def space_from_dim(cls, dim):
106+
return cls(dim)
108107

109108
def real_zero_vector(self):
110109
return DealIIVector(pd2.Vector(self.dim))

0 commit comments

Comments
 (0)