Skip to content

Variable type bug when passing values from C++ to python code. #21

@zxxia

Description

@zxxia

PyList_SetItem(rtt_samples, 0, PyLong_FromLong(first_ack_latency_sec));

The latency values here are doubles. Treating as long variables will make them zeros and lead all RTT samples to be zeros. Thus, this will cause a wrong observation to be fed into the RL model.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions