Skip to content

Commit 903029c

Browse files
authored
Merge pull request #160 from nasa/bug/t0
Trivial renamed t -> t0
2 parents 07ab2b9 + 5e09e34 commit 903029c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/prog_models/prognostics_model.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ def simulate_to_threshold(self, future_loading_eqn, first_output = None, thresho
791791

792792
# Configure
793793
config = { # Defaults
794-
't': 0.0,
794+
't0': 0.0,
795795
'dt': 1.0,
796796
'save_pts': [],
797797
'save_freq': 10.0,
@@ -823,7 +823,7 @@ def simulate_to_threshold(self, future_loading_eqn, first_output = None, thresho
823823
raise ProgModelInputException("'print' must be a bool, was a {}".format(type(config['print'])))
824824

825825
# Setup
826-
t = config['t']
826+
t = config['t0']
827827
u = future_loading_eqn(t)
828828
if 'x' in config:
829829
x = config['x']

0 commit comments

Comments
 (0)