Skip to content

Fix recognition of non-contigous input data - #124

Merged
mhvk merged 1 commit into
liberfa:masterfrom
mhvk:fix-non-contiguous-double33
Oct 19, 2023
Merged

mhvk merged 1 commit into
liberfa:masterfrom
mhvk:fix-non-contiguous-double33

Conversation

@mhvk

@mhvk mhvk commented Oct 19, 2023

Copy link
Copy Markdown
Contributor

Fixes #123

cc @avalentino since you just looked at something...

@mhvk
mhvk requested a review from avalentino October 19, 2023 17:46
Comment thread erfa/ufunc.c.templ
note: one can only have 1 or 2 dimensions */ #}
{%- if arg.ndim == 2 %}
int copy_{{ arg_name
}} = (is_{{ arg_name }}1 != sizeof({{ arg.ctype }}) &&

@mhvk mhvk Oct 19, 2023 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Of course rather silly to insist that non-contiguous means that both strides should be bad -- either stride clearly is what is needed. Sigh.

@mhvk mhvk mentioned this pull request Oct 19, 2023

@avalentino avalentino left a comment

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.

LGTM

@avalentino

Copy link
Copy Markdown
Member

Thanks @mhvk

@mhvk
mhvk merged commit abd7aca into liberfa:master Oct 19, 2023
@mhvk
mhvk deleted the fix-non-contiguous-double33 branch October 19, 2023 18:07
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.

BUG: rxp does not work correctly if given slice as matrix

2 participants