Skip to content

use reverse to replace deprecated flipdim #37

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 1 commit into from
Jan 23, 2023
Merged

use reverse to replace deprecated flipdim #37

merged 1 commit into from
Jan 23, 2023

Conversation

ziyiyin97
Copy link
Member

@ziyiyin97 ziyiyin97 commented Jul 16, 2022

flipdim already deprecated so changed it to reverse

@mloubout
Copy link
Member

joExtend already work for multidimensional arrays, that's what joKron is for since it's separable

@@ -187,3 +187,9 @@ function joExtend(n::Integer,pad_type::Symbol;
return nothing
end

function joExtend(n::NTuple{N, Integer},pad_type::Symbol;
Copy link
Member

Choose a reason for hiding this comment

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

That's not the convention in JOLI, the convention is joXXX(n1, n2, n3 ....) no a tuple.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks. Vararg{Integer, N} would only be OK if that is the last argument. However, there is a pad_type after that. Any suggestion?

@ziyiyin97 ziyiyin97 changed the title extend joExtend operator to work on multi-dimensional arrays use reverse to replace deprecated flipdim Oct 28, 2022
@ziyiyin97 ziyiyin97 requested a review from mloubout October 31, 2022 03:47
@mloubout
Copy link
Member

Update project.toml

@rafaelorozco
Copy link
Collaborator

Is there a hold up here I can help with? I ran into this error for the second time in the last few months.

@mloubout
Copy link
Member

Project.toml update for new release

@mloubout
Copy link
Member

And if it creates a bug then there should be a test associated with it

@mloubout mloubout merged commit 9c2477f into master Jan 23, 2023
@mloubout mloubout deleted the mirror branch January 23, 2023 01:38
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