Skip to content

Missing return in Curried instantaneous flow rate function #12

@michaelmiscanuk

Description

@michaelmiscanuk

Hi, there is a missing return in function on page 320. (Took me some time to figure out).
Should be:

def get_flow_rate_function(v):
    def flow_rate_function(t):
        return instantaneous_flow_rate(v,t)
    return flow_rate_function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions