Skip to content

Commit

Permalink
Rename grids module to grid_helpers module
Browse files Browse the repository at this point in the history
  • Loading branch information
timmens committed Jul 18, 2024
1 parent 56a6329 commit 8ce39ee
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/lcm/function_representation.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from jax import Array
from jax.scipy.ndimage import map_coordinates

import lcm.grids as grids_module
import lcm.grid_helpers as grids_module
from lcm.functools import all_as_kwargs
from lcm.interfaces import ContinuousGridInfo, ContinuousGridType, SpaceInfo
from lcm.typing import MapCoordinatesOptions
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/lcm/user_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import jax.numpy as jnp

from lcm.grids import linspace, logspace
from lcm.grid_helpers import linspace, logspace
from lcm.interfaces import ContinuousGridInfo
from lcm.typing import ContinuousGridType, ScalarUserInput

Expand Down
2 changes: 1 addition & 1 deletion tests/test_function_representation.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
_get_lookup_function,
get_function_representation,
)
from lcm.grids import linspace
from lcm.grid_helpers import linspace
from lcm.interfaces import (
ContinuousGridInfo,
IndexerInfo,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_grids.py → tests/test_grid_helpers.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import numpy as np
import pytest
from jax.scipy.ndimage import map_coordinates
from lcm.grids import (
from lcm.grid_helpers import (
get_linspace_coordinate,
get_logspace_coordinate,
linspace,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_process_model.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import jax.numpy as jnp
import lcm.grids as grids_module
import lcm.grid_helpers as grids_module
import numpy as np
import pandas as pd
import pytest
Expand Down

0 comments on commit 8ce39ee

Please sign in to comment.