Skip to content

Does not work with lambda functions #206

Closed
@RafalSkolasinski

Description

@RafalSkolasinski

For example, if in the initial example one have

def g(x, offset=offset, wait=True):
    from time import sleep
    from random import random

    a = 0.01
    if wait:
        sleep(random() / 10)
    return x + a**2 / (a**2 + (x - offset)**2)


f = lambda x: g(x)

then execution just hangs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions