Error file: Regression\Consumer\IFC\Property\PropertiesWithUnits\IfcSurfaceOfLinearExtrusion_optional_position_out.validation.json.base
The error massage: "IfcSurfaceWeightsPositive(self)\n\nViolated by:\n unsupported operand type(s) for -: 'list' and 'int'
On instance: #97=IfcRationalBSplineSurfaceWithKnots(2,1,((#87,#88),(#89,#90),(#91,#92),(#93,#94),(#95,#96)),.UNSPECIFIED.,.F.,.F.,.U.,(3,2,3),(2,2),(-3.14159265358979,-1.5707963267949,0.),(-328.083989501312,328.083989501312),.UNSPECIFIED.,((1.,1.),(0.707106781186547,0.707106781186547),(1.,1.),(0.707106781186548,0.707106781186548),(1.,1.)))\n"
The weight data 2D array associated with control points is = ((1.,1.),(0.70710678118654735,0.70710678118654735),(1.,1.),(0.70710678118654768,0.70710678118654768),(1.,1.)) i.e. all the values are positive.
The error occurs in validator when checking the IfcSurfaceWeightsPositive rule. The message:
"unsupported operand type(s) for -: 'list' and 'int'"
This is a Python TypeError: the code is trying to subtract an integer from a list, which is invalid.
