libsbml icon indicating copy to clipboard operation
libsbml copied to clipboard

Style::isSetGroup() always returns true

Open luciansmith opened this issue 7 months ago • 0 comments

The child 'Group' of a Style is initialized as an object. Then the address of that object is tested to see if it exists when checking 'isSetGroup'. This will always return 'true'.

We need a way to allow a Style to either have or not have a child group: it's an optional element.

luciansmith avatar Jun 10 '25 22:06 luciansmith