mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
fixed typos in translate and __init__
This commit is contained in:
parent
9740f91ffc
commit
542643f91a
1 changed files with 2 additions and 2 deletions
|
|
@ -381,7 +381,7 @@ class PlaneMeta(metaclass=ABCMeta):
|
|||
else:
|
||||
surf = self
|
||||
|
||||
surf._update_from_base_coeffs(a, b, c, d)
|
||||
surf._update_from_base_coeffs((a, b, c, d))
|
||||
return surf
|
||||
|
||||
def bounding_box(self, side):
|
||||
|
|
@ -944,7 +944,7 @@ class Cylinder(QuadricMeta, Surface):
|
|||
"""
|
||||
_type = 'cylinder'
|
||||
_coeff_keys = ('x0', 'y0', 'z0', 'r', 'u', 'v','w')
|
||||
def __init__(self, x0=0., y0=0., z0=0. r=1., u=0., v=0., w=1., **kwargs):
|
||||
def __init__(self, x0=0., y0=0., z0=0., r=1., u=0., v=0., w=1., **kwargs):
|
||||
super().__init__(**kwargs)
|
||||
self.x0 = x0
|
||||
self.y0 = y0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue