Commit 0b626645 authored by Theo Steininger's avatar Theo Steininger

Added Versionable parent class to LinearOperator

parent 664d97fb
Pipeline #17413 passed with stages
in 29 minutes and 53 seconds
......@@ -25,8 +25,8 @@ from keepers import Loggable,\
from future.utils import with_metaclass
class DomainObject(with_metaclass(NiftyMeta, type('NewBase',
(Versionable, Loggable, object), {}))):
class DomainObject(with_metaclass(
NiftyMeta, type('NewBase', (Versionable, Loggable, object), {}))):
"""The abstract class that can be used as a domain for a field.
This holds all the information and functionality a field needs to know
......
......@@ -20,14 +20,15 @@ from builtins import str
import abc
from ...nifty_meta import NiftyMeta
from keepers import Loggable
from keepers import Loggable,\
Versionable
from ...field import Field
from ... import nifty_utilities as utilities
from future.utils import with_metaclass
class LinearOperator(
with_metaclass(NiftyMeta, type('NewBase', (Loggable, object), {}))):
class LinearOperator(with_metaclass(
NiftyMeta, type('NewBase', (Versionable, Loggable, object), {}))):
"""NIFTY base class for linear operators.
The base NIFTY operator class is an abstract class from which
......
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