Skip to content

Commit

Permalink
threads settings for zero profile case
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiolrdiniz committed Jul 7, 2023
1 parent a1f7dc3 commit 8df1a2b
Show file tree
Hide file tree
Showing 3 changed files with 144 additions and 144 deletions.
Loading

9 comments on commit 8df1a2b

@imoradi
Copy link
Collaborator

Choose a reason for hiding this comment

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

@BenjaminTJohnson is this what caused the conflict with my PR? The git history shows many changes but none of them is real - like a space was deleted then added and so on. So git cannot resolve the differences.

@imoradi
Copy link
Collaborator

Choose a reason for hiding this comment

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

@BenjaminTJohnson Here is a screen shot and as you see all the changes marked by Girhub are deleting and adding spaces. It is likely that the editor used to edit the file treated spaces differently and git interpreted them as changes.

image

@fabiolrdiniz
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@imoradi, no, the editor didn't treat spaces differently. It removed unnecessary spaces (end of the line, empty lines, etc.). But please, notice that what might be causing a conflict with your PR is the addition of the zero profile case. Please, search for something like n_Profiles == 0 and you will see the changes around that.

@imoradi
Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes I saw the n_Profiles == 0 but Git blocks big chunks of the code as conflict and not even properly grouping them together which makes it difficult to resolve the conflicts. I may have to use some offline tools to see where the actual differences are. Thanks anyway for your comment. Good to know that these are real changes.

@fabiolrdiniz
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@imoradi seems to me that your version of the code fixed the indentation throughout the code and that's what confused things in the interface.

@fabiolrdiniz
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I assume the PR you are talking about is #39.

@imoradi
Copy link
Collaborator

@imoradi imoradi commented on 8df1a2b Sep 22, 2023 via email

Choose a reason for hiding this comment

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

@fabiolrdiniz
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Seems to me that your version of the code is only missing that n_Profiles == 0 and the addition of Opt in Post_Process_RTSolution(Opt,....

@imoradi
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks @fabiolrdiniz - I made a new branch this morning and I believe have moved all the changes from my branch to the new one that matches Develop. I need to do some tests and if it passes then will make a new PR.

Please sign in to comment.