Skip to content

ICG mistakes a function pointer with default value as a variable #1916

@alexlin0

Description

@alexlin0

This line in a class is mistaken as a double by ICG

double (*shaping_func)(double,double) = NULL;

io_src code is created by ICG. The checkpointer will try unsuccessfully, but not fatal, to checkpoint this.

I worked around it by changing the line to this

double (*shaping_func)(double,double){nullptr};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions