Skip to content

Commit

Permalink
cleanup per kens review
Browse files Browse the repository at this point in the history
  • Loading branch information
robfalck committed Jul 20, 2023
1 parent b26c1d6 commit 084042e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions dymos/transcriptions/transcription_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from ..utils.misc import _unspecified
from ..utils.introspection import configure_states_introspection, get_promoted_vars, get_target_metadata, \
configure_states_discovery
from .._options import options as dymos_options


class TranscriptionBase(object):
Expand Down Expand Up @@ -115,20 +114,6 @@ def configure_time(self, phase):
user_units=time_options['units'],
user_shape='')

time_units = time_options['units']
indeps = []
default_vals = {'t_initial': phase.time_options['initial_val'],
't_duration': phase.time_options['duration_val']}

if not time_options['input_initial']:
indeps.append('t_initial')

if not time_options['input_duration'] and not self._implicit_duration:
indeps.append('t_duration')

# for var in indeps:
# phase.time_extents.add_output(var, val=default_vals[var], units=time_units)

if not (time_options['input_initial'] or time_options['fix_initial']):
lb, ub = time_options['initial_bounds']
lb = -INF_BOUND if lb is None else lb
Expand Down

0 comments on commit 084042e

Please sign in to comment.