Skip to content

Commit

Permalink
Specify rev; format.
Browse files Browse the repository at this point in the history
  • Loading branch information
spahrenk committed Dec 5, 2024
1 parent e251a69 commit 942f1b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion scripts/python/data_model/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ python = "^3.8"
pandas = "*"
plotly = "*"
koozie = "*"
dimes = { git = "https://github.com/bigladder/dimes", rev = "1b8082f06909d551b36e7b784816d7abd915b58a"}
lattice = {git = "https://github.com/bigladder/lattice.git", branch = "add-basic-build-support"}

[tool.poetry.dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/HPWHUtils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ void HPWH::to_json(
auto& lookup_vars = perf.performance_map.lookup_variables;
std::vector<double> copV;
copV.reserve(lookup_vars.input_power.size());
for(std::size_t i = 0; i < lookup_vars.heating_capacity.size(); ++i)
for (std::size_t i = 0; i < lookup_vars.heating_capacity.size(); ++i)
copV.push_back(lookup_vars.heating_capacity[i] / lookup_vars.input_power[i]);

nlohmann::json j_lookup_vars;
Expand Down

0 comments on commit 942f1b7

Please sign in to comment.