Skip to content

Commit

Permalink
don't check dimension (for transform)
Browse files Browse the repository at this point in the history
  • Loading branch information
yomichi committed Mar 13, 2024
1 parent 4571a8e commit 390c51c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/py2dmat/algorithm/_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,6 @@ def _meshgrid(
)
if data.ndim == 1:
data = data.reshape(1, -1)
if data.shape[1] != self.dimension+1:
raise exception.InputError(
f"ERROR: data.shape[1] != dimension+1 ({data.shape[1]} != {self.dimension}+1)"
)
grid = data
else:
if "min_list" not in info_param:
Expand Down

0 comments on commit 390c51c

Please sign in to comment.