mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Cosmetic fixes from PullRequest [2019-12-05]
This commit is contained in:
parent
8fcd74b14b
commit
6d0aa86cef
39 changed files with 247 additions and 222 deletions
|
|
@ -4,9 +4,8 @@ from numbers import Real, Integral
|
|||
import numpy as np
|
||||
|
||||
import openmc.checkvalue as cv
|
||||
from openmc.stats import Tabular, Univariate, Discrete, Mixture
|
||||
from openmc.stats import Tabular, Univariate, Discrete
|
||||
from .angle_energy import AngleEnergy
|
||||
from .function import INTERPOLATION_SCHEME
|
||||
from .endf import get_tab2_record, get_tab1_record
|
||||
|
||||
|
||||
|
|
@ -122,7 +121,7 @@ class LaboratoryAngleEnergy(AngleEnergy):
|
|||
mu = []
|
||||
energy_out = []
|
||||
for i in range(ne):
|
||||
params, tab2mu = get_tab2_record(file_obj)
|
||||
params, _ = get_tab2_record(file_obj)
|
||||
energy[i] = params[1]
|
||||
n_mu = params[5]
|
||||
mu_i = np.zeros(n_mu)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue