Skip to content

Commit

Permalink
MAINT: Register cartesian_nearest_index to __init__ (#670)
Browse files Browse the repository at this point in the history
  • Loading branch information
oyamad committed Dec 18, 2022
1 parent 5edc7a5 commit b1c0cdf
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions quantecon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
__version__ = '0.6.0'

try:
import numba
import numba
except:
raise ImportError(
"Cannot import numba from current anaconda distribution. \
Please run `conda install numba` to install the latest version.")
raise ImportError(
"Cannot import numba from current anaconda distribution. \
Please run `conda install numba` to install the latest version.")

# Modules
from . import distributions
Expand All @@ -26,10 +26,10 @@
from ._ecdf import ECDF
from ._estspec import smooth, periodogram, ar_periodogram
from ._graph_tools import DiGraph, random_tournament_graph
from ._gridtools import (cartesian, mlinspace, simplex_grid, simplex_index,
num_compositions)
from ._gridtools import (cartesian, mlinspace, cartesian_nearest_index,
simplex_grid, simplex_index, num_compositions)
from ._inequality import (lorenz_curve, gini_coefficient, shorrocks_index,
rank_size)
rank_size)
from ._kalman import Kalman
from ._lae import LAE
from ._arma import ARMA
Expand All @@ -46,7 +46,7 @@
#-> Propose Delete From Top Level
# Promote to keep current examples working
from .markov import MarkovChain, random_markov_chain, random_stochastic_matrix, \
gth_solve, tauchen, rouwenhorst
gth_solve, tauchen, rouwenhorst


from .util import searchsorted, fetch_nb_dependencies, tic, tac, toc
Expand All @@ -57,6 +57,6 @@

# Imports that are deprecated and will be removed in further versions
from . import (ecdf, arma, compute_fp, discrete_rv, dle, estspec, filter,
graph_tools, gridtools, inequality, ivp, kalman, lae,
lqcontrol, lqnash, lss, matrix_eqn, quadsums, rank_nullspace,
robustlq)
graph_tools, gridtools, inequality, ivp, kalman, lae,
lqcontrol, lqnash, lss, matrix_eqn, quadsums, rank_nullspace,
robustlq)

0 comments on commit b1c0cdf

Please sign in to comment.