-# Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+# Copyright (C) 2014-2023 CEA, EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
def addRealInput(self, inputid):
"""F.addRealInput(str) -- add real attribute"""
self.data().addAttribute(inputid,
- ModelAPI.ModelAPI_AttributeDouble_typeId())
+ ModelAPI.ModelAPI_AttributeDouble.typeId())
def getRealInput(self, inputid):
"""F.getRealInput(str) -- get real value of the attribute"""