Skip to content

Commit

Permalink
test case bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamSwayne committed Nov 26, 2023
1 parent 94c63dd commit cc52477
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linear_program.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ def calculate(floors=1, xLength=1, yLength=1):
logs.append("Parameters given: " + str(floors) + " floor, " + str(xLength) + " tile x length, " + str(yLength) + " tile y length.")
logs.append("\nCost (measured in USD): $" + str(round(cost.value, 2)))
logs.append("\nColumns (measured in quantity):")
logs.append("Aluminum columns needed: "+str(sum(sum(aluminumColumns, []))))
logs.append("Steel columns needed: "+str(sum(sum(steelColumns, []))))
logs.append("Aluminum columns needed: "+str(sum(sum(aluminumColumns.value, []))))
logs.append("Steel columns needed: "+str(sum(sum(steelColumns.value, []))))
logs.append("\nCarbon offsets (measured in acres):")
logs.append("Slash pine acres: " + str(slashPineAcres.value))

Expand Down

0 comments on commit cc52477

Please sign in to comment.