Skip to content

Commit d8124a7

Browse files
committed
fix clang-format
1 parent a0c1c46 commit d8124a7

File tree

7 files changed

+12
-14
lines changed

7 files changed

+12
-14
lines changed

src/sst/core/impl/partitioners/simplepart.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,8 @@ SimplePartitioner::performPartition(PartitionGraph* graph)
224224

225225
// ConfigLink* theLink = (*linkItr);
226226
PartitionLink& theLink = linkMap[*linkItr];
227-
compConnectMap->insert(std::pair<ComponentId_t, SimTime_t>(theLink.component[1], theLink.getMinLatency()));
227+
compConnectMap->insert(
228+
std::pair<ComponentId_t, SimTime_t>(theLink.component[1], theLink.getMinLatency()));
228229
}
229230
}
230231

src/sst/core/main.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ dump_partition(Config& cfg, ConfigGraph* graph, const RankInfo& size)
135135
cfg.component_partition_file().c_str());
136136
}
137137

138-
std::ofstream graph_file(cfg.component_partition_file().c_str());
138+
std::ofstream graph_file(cfg.component_partition_file().c_str());
139139
ConfigComponentMap_t& component_map = graph->getComponentMap();
140140

141141
for ( uint32_t i = 0; i < size.rank; i++ ) {

src/sst/core/rng/discrete.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ class DiscreteDistribution : public RandomDistribution
3636
\param probs An array of probabilities for each outcome
3737
\param probsCount The number of discrete outcomes
3838
*/
39-
DiscreteDistribution(const double* probs, const uint32_t probsCount) :
40-
RandomDistribution(),
41-
probCount(probsCount)
39+
DiscreteDistribution(const double* probs, const uint32_t probsCount) : RandomDistribution(), probCount(probsCount)
4240
{
4341

4442
probabilities = (double*)malloc(sizeof(double) * probsCount);

src/sst/core/rng/expon.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class ExponentialDistribution : public RandomDistribution
102102
/**
103103
Sets the lambda of the exponential distribution.
104104
*/
105-
double lambda;
105+
double lambda;
106106
/**
107107
Sets the base random number generator for the distribution.
108108
*/

src/sst/core/rng/gaussian.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,23 +140,23 @@ class GaussianDistribution : public RandomDistribution
140140
/**
141141
The mean of the Gaussian distribution
142142
*/
143-
double mean;
143+
double mean;
144144
/**
145145
The standard deviation of the Gaussian distribution
146146
*/
147-
double stddev;
147+
double stddev;
148148
/**
149149
The base random number generator for the distribution
150150
*/
151151
Random* baseDistrib;
152152
/**
153153
Random numbers for the distribution are read in pairs, this stores the second of the pair
154154
*/
155-
double unusedPair;
155+
double unusedPair;
156156
/**
157157
Random numbers for the distribution are read in pairs, this tells the code to use the second of the pair
158158
*/
159-
bool usePair;
159+
bool usePair;
160160

161161
/**
162162
Controls whether the destructor deletes the distribution (we need to ensure we do this IF we created the

src/sst/core/rng/poisson.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ class PoissonDistribution : public RandomDistribution
108108
/**
109109
Sets the lambda of the Poisson distribution.
110110
*/
111-
const double lambda;
111+
const double lambda;
112112
/**
113113
Sets the base random number generator for the distribution.
114114
*/
115-
Random* baseDistrib;
115+
Random* baseDistrib;
116116

117117
/**
118118
Controls whether the base distribution should be deleted when this class is destructed.

src/sst/core/testElements/coreTest_ClockerComponent.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ coreTestClockerComponent::coreTestClockerComponent() : Component(-1)
5757
// for serialization only
5858
}
5959

60-
bool
61-
coreTestClockerComponent::tick(Cycle_t)
60+
bool coreTestClockerComponent::tick(Cycle_t)
6261
{
6362
clock_count--;
6463

0 commit comments

Comments
 (0)