Skip to content

fix cross & unskip tests for cross #509

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 20, 2021
Merged

Conversation

Rubtsowa
Copy link
Contributor

No description provided.

(dpnp.dtype(dpnp.int32), dpnp.dtype(dpnp.int64)): dpnp.int64,
(dpnp.dtype(dpnp.int64), dpnp.dtype(dpnp.int32)): dpnp.int64,
(dpnp.dtype(dpnp.int64), dpnp.dtype(dpnp.int64)): dpnp.int64,
(dpnp.dtype(dpnp.float32), dpnp.dtype(dpnp.float32)): dpnp.float32,
}

res_type = types_map.get((x1.dtype, x2.dtype), dpnp.float64)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe res_type = types_map.get((x1.dtype.type, x2.dtype.type), dpnp.float64) and remove dpnp.dtype() from dpnp.int32, 64, etc?

}

res_type = types_map.get((x1.dtype, x2.dtype), dpnp.float64)
res_type = types_map.get((x1.dtype.type, x2.dtype.type), dpnp.float64)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@shssf shssf merged commit 64ba877 into IntelPython:master Jan 20, 2021
@Rubtsowa Rubtsowa deleted the fix_types_maps branch January 21, 2021 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants