Skip to content

Infer dtypes from inputs for linspace and geomspace#3845

Merged
MridulS merged 7 commits intoscipp:mainfrom
MridulS:gh_3741
Feb 19, 2026
Merged

Infer dtypes from inputs for linspace and geomspace#3845
MridulS merged 7 commits intoscipp:mainfrom
MridulS:gh_3741

Conversation

@MridulS
Copy link
Copy Markdown
Member

@MridulS MridulS commented Feb 12, 2026

fixes #3741

@MridulS MridulS marked this pull request as ready for review February 12, 2026 08:59
@MridulS MridulS enabled auto-merge (squash) February 12, 2026 09:08
range_fn('x', start, stop, num)


def test_linspace_infers_dtype_from_vector_variables() -> None:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggestion: parametrize the test to use linspace, geomspace, logspace functions?

@MridulS MridulS merged commit 4504811 into scipp:main Feb 19, 2026
4 checks passed
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.

Infer dtype in scipp.linspace for non-scalar data types

2 participants