Skip to content

issue #44: remove redundancy #47

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

issue #44: remove redundancy #47

wants to merge 1 commit into from

Conversation

sampotter
Copy link
Owner

@sampotter sampotter commented Jan 13, 2022

Fixes Issue #44

@steo85it steo85it self-requested a review April 22, 2022 16:24
@@ -198,9 +198,6 @@ def get_direct_irradiance(self, F0, Dsun, basemesh=None, eps=None):
directions.

'''
if basemesh == None:
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think that removing this is correct. We still need to set the basemesh to self. We can squeeze it inside the second "if" though.

Copy link
Collaborator

@steo85it steo85it left a comment

Choose a reason for hiding this comment

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

"basemesh = self" (line 202) should be kept and moved inside "if basemesh is None" (line 205)

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