Skip to content

In _core.py : Rays : _checkformat_inputs_dgeom self is undefined #189

@lasofivec

Description

@lasofivec

tofu/tofu/geom/_core.py

Lines 3187 to 3194 in 56b8b95

if self._is2D():
x2 = dgeom['dX12']['l2']*np.linspace(-0.5, 0.5,
dgeom['dX12']['n2'],
end_point=True)
dgeom['dX12']['x2'] = x2
if self._is2D():
nRays = dgeom['dX12']['n1']*dgeom['dX12']['n2']
ind1, ind2, indr = self._get_ind12r_n12(n1=dgeom['dX12']['n1'],

In the above lines self is undefined

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions