Commit 4ca01fa0 authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[bindings.dunegdt] fix COW in DuneXTVector

parent 8d92bf6e
......@@ -34,7 +34,7 @@ if config.HAVE_DUNEGDT:
return cls(instance.impl)
def _copy_data(self):
return DuneXTVector(self.impl.copy(True))
self.impl = self.impl.copy(True)
def _scal(self, alpha):
self.impl.scal(alpha)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment