Skip to content

operator overloading #1312

@caxelrud

Description

@caxelrud

I am using pythonnet with the .Net library Infer.net (https://dotnet.github.io/infer/ ).
This library has some operator overloading as the '<'.
The following line fail because of the tomorrowsTime < 18.0 part:
probTripTakesLessThan18Minutes = engine.Infer[Bernoulli](tomorrowsTime < 18.0).GetProbTrue()
How to deal with operator overloading in Pythonnet?
Thanks!

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