Skip to content

Commit

Permalink
Merge branch 'dev' into citation
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorStoneAstro authored Nov 29, 2024
2 parents d92d3ae + 90a8433 commit ea5108e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/caustics/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def interp2d(
raise ValueError(f"x must be 0 or 1D (received {x.ndim}D tensor)")
if y.ndim > 1:
raise ValueError(f"y must be 0 or 1D (received {y.ndim}D tensor)")
if padding_mode not in ["extrapolate", "zeros"]:
if padding_mode not in ["extrapolate", "clamp", "zeros"]:
raise ValueError(f"{padding_mode} is not a valid padding mode")

if padding_mode == "clamp":
Expand Down

0 comments on commit ea5108e

Please sign in to comment.