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

Fix for PR #801 #802

Merged
merged 1 commit into from
Nov 10, 2017
Merged

Fix for PR #801 #802

merged 1 commit into from
Nov 10, 2017

Conversation

vg3095
Copy link
Contributor

@vg3095 vg3095 commented Nov 10, 2017

No description provided.

@wkerzendorf
Copy link
Member

@vg3095 - thank you very much!

@wkerzendorf wkerzendorf merged commit 37c4ebf into tardis-sn:decay Nov 10, 2017
@@ -349,20 +349,4 @@ def calculate(self, phi, partition_function, number_density,
1].sum(axis=0))
ion_number_density.ix[2].ix[2].update(helium_population_updated.ix[
2].ix[0])
ion_numbers = ion_number_density.index.get_level_values(1).values
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this code block is not required when electron_densities are read from a seperate file in IonNumberDensityHeNLTE class.

Copy link
Member

Choose a reason for hiding this comment

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

@vg3095 well often it isn't - we need to be careful here. It needs to calculate them if they are not given. They will often not be given.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@wkerzendorf
See this line, and here, I have removed this code block from second link (from else part --> if electron_densities is present).

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.

None yet

2 participants