Skip to content

Commit

Permalink
simplify expression in function _create_car_types
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobWeg committed Feb 13, 2023
1 parent 066683b commit fcd364d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions simbev/simbev_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ def _create_car_types(self):
else:
energy_min = self.energy_min["phev"].to_dict()

if self.output_options["analyze"] or self.output_options["car"]:
output = True
output = self.output_options["analyze"] or self.output_options["car"]

car_type = CarType(
car_type_name,
Expand Down

0 comments on commit fcd364d

Please sign in to comment.