Skip to content

Commit

Permalink
Use all values in comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Feb 1, 2023
1 parent 4b10adc commit cc72ee9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def test_timestd(self):
temp1.addValue(start_time + i * nanosec, vals[i])
run.addProperty(temp1.name, temp1, True)
# ignore the last value
expected = vals[:-1].std()
expected = vals.std()
self.assertEqual(run.getTimeAveragedStd("TEMP1"), expected)

def do_test_copyable(self, copy_op):
Expand Down

0 comments on commit cc72ee9

Please # to comment.