Skip to content
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

Too many return statements #1

Open
brodkemd opened this issue Sep 11, 2021 · 3 comments
Open

Too many return statements #1

brodkemd opened this issue Sep 11, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@brodkemd
Copy link

Hello,

First off let me say thank you for writing this code! It is tremendously helpful to me. I am running into a problem where when the software converts a function it adds multiple return statements. I'm looking through the code to trying to find why but I thought you may be able to point to where I should look.

Thanks!

@ebranlard
Copy link
Owner

Hi,
I'm a bit too busy at the moment to figure it out, so it's nice if you manage to dive in the code and try to find the problem. You can also try to create a small minimal example that reproduce the issue. That's usually the best start.
Thanks for using the code!
Cheers,

Emmanuel

@brodkemd
Copy link
Author

Alright , I made a band aid for it now but I'll try and figure it out. Also, I have added code that adds import statements to the beginning of a file if the code comes across a function call from another matlab file in the directory. If that sounds useful to you let me know and I can start a pull request so you can see the changes.

  • Marek

@ebranlard
Copy link
Owner

Hi Marek,

That sounds good! Yes, feel free to send a pull request.
Cheers,

Emmanuel

@ebranlard ebranlard added the bug Something isn't working label Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants