mirror of
https://github.com/wassname/simpeg.git
synced 2026-07-11 08:50:14 +08:00
Merge pull request #165 from simpeg/bsmithyman-patch-1
Be compatible with outside metaclasses, for now
This commit is contained in:
@@ -3,10 +3,7 @@ import time
|
||||
import numpy as np
|
||||
from functools import wraps
|
||||
|
||||
|
||||
class SimPEGMetaClass(type):
|
||||
def __new__(cls, name, bases, attrs):
|
||||
return super(SimPEGMetaClass, cls).__new__(cls, name, bases, attrs)
|
||||
SimPEGMetaClass = type
|
||||
|
||||
def memProfileWrapper(towrap, *funNames):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user