Skip to content
Snippets Groups Projects

Resolve "StateBlock perturbation helper function for gtests"

2 files
+ 13
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -68,6 +68,10 @@ class HasStateBlocks
unsigned int getSize() const;
unsigned int getLocalSize() const;
// Perturb state
void perturb(double amplitude = 0.01);
private:
std::string structure_;
std::unordered_map<std::string, StateBlockPtr> state_block_map_;
@@ -251,6 +255,5 @@ inline unsigned int HasStateBlocks::getLocalSize() const
return size;
}
} // namespace wolf
#endif /* STATE_BLOCK_HAS_STATE_BLOCKS_H_ */
Loading