Skip to content

Commit eb2748a

Browse files
committed
fix: rename for clarity
1 parent a7efe2d commit eb2748a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

jax_galsim/bounds.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ def __init__(self, *args, **kwargs):
700700
# we set these variables to disable type checking and conversion
701701
# for xmin/ymin while we initialize the object
702702
self._isstatic = True
703-
self._dotypechecking = False
703+
self._dotypeconversion = False
704704
self._parse_args(*args, **kwargs)
705705

706706
# validate inputs are ints
@@ -734,7 +734,7 @@ def __init__(self, *args, **kwargs):
734734
self._isstatic = True
735735
else:
736736
self._isstatic = False
737-
self._dotypechecking = True
737+
self._dotypeconversion = True
738738

739739
def _check_scalar(self, x, name):
740740
try:
@@ -770,7 +770,7 @@ def xmin(self):
770770
def xmin(self, value):
771771
value = check_is_int_then_cast(value, "BoundsI xmin values must be integers")
772772
if self._isstatic:
773-
if self._dotypechecking:
773+
if self._dotypeconversion:
774774
# attempt to convert widths to static values
775775
# this will raise if values are being traced
776776
# we let that error propagate instead of reraising
@@ -824,7 +824,7 @@ def ymin(self):
824824
def ymin(self, value):
825825
value = check_is_int_then_cast(value, "BoundsI ymin values must be integers")
826826
if self._isstatic:
827-
if self._dotypechecking:
827+
if self._dotypeconversion:
828828
# attempt to convert widths to static values
829829
# this will raise if values are being traced
830830
# we let that error propagate instead of reraising

0 commit comments

Comments
 (0)