Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dm_pix/_src/color_conversion_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,8 @@ def test_mixed_image_values_and_gradients(self):
@chex.all_variants
def test_chromatic_gradients_match_finite_differences(self):
x = jnp.array([0.2, 0.6, 0.9])
x64 = np.asarray(x, dtype=np.float64)
numerical = np.zeros((3, 3))
x64 = np.asarray(x).astype(np.float64)
for index in range(3):
delta = np.zeros(3)
delta[index] = 1e-5
Expand Down
Loading