Skip to content

Speed up compilation of the equilibrium layer solver in REN #30

@nic-barbara

Description

@nic-barbara

We currently use a for loop to iterate through the equilibrium layer and solve for w_t. This is slow to compile in JAX, and would probably be much faster if we used jax.lax.scan instead. Switch it over.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions