Skip to content

Commit

Permalink
Format.
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Ahrenkiel authored and Phil Ahrenkiel committed Jan 11, 2024
1 parent b65839a commit d3a6bef
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/HPWHpresets.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1843,7 +1843,8 @@ int HPWH::HPWHinit_presets(MODELS presetNum)
}

// Set up regular grid interpolator.
compressor.perfRGI = std::make_shared<Btwxt::RegularGridInterpolator>(Btwxt::RegularGridInterpolator(compressor.perfGrid, compressor.perfGridValues));
compressor.perfRGI = std::make_shared<Btwxt::RegularGridInterpolator>(
Btwxt::RegularGridInterpolator(compressor.perfGrid, compressor.perfGridValues));
compressor.useBtwxtGrid = true;

// set everything in its places
Expand Down Expand Up @@ -2213,7 +2214,8 @@ int HPWH::HPWHinit_presets(MODELS presetNum)

std::vector<Btwxt::GridAxis> gx {g0, g1, g2};

compressor.perfRGI = std::make_shared<Btwxt::RegularGridInterpolator>(Btwxt::RegularGridInterpolator(gx, compressor.perfGridValues));
compressor.perfRGI = std::make_shared<Btwxt::RegularGridInterpolator>(
Btwxt::RegularGridInterpolator(gx, compressor.perfGridValues));

compressor.useBtwxtGrid = true;

Expand Down

0 comments on commit d3a6bef

Please sign in to comment.