operator overloading

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Closed

#1347

@caxelrud

Description

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

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions