Skip to content
Snippets Groups Projects
Commit 1eb28bf1 authored by Pospelov, Gennady's avatar Pospelov, Gennady
Browse files

Compilation warning

parent f044c5f4
No related branches found
No related tags found
No related merge requests found
...@@ -19,8 +19,8 @@ TEST_F(ParameterDistributionTest, ParameterDistributionConstructor) ...@@ -19,8 +19,8 @@ TEST_F(ParameterDistributionTest, ParameterDistributionConstructor)
{ {
std::string name = "MainParameterName"; std::string name = "MainParameterName";
DistributionGate distribution(1.0, 2.0); DistributionGate distribution(1.0, 2.0);
EXPECT_THROW(ParameterDistribution(name, distribution, 1.0, -1.0), RuntimeErrorException); EXPECT_THROW(ParameterDistribution(name, distribution, 1, -1.0), RuntimeErrorException);
EXPECT_THROW(ParameterDistribution(name, distribution, 0.0), RuntimeErrorException); EXPECT_THROW(ParameterDistribution(name, distribution, 0), RuntimeErrorException);
// Sigma constructor // Sigma constructor
ParameterDistribution pardistr(name, distribution, 1); ParameterDistribution pardistr(name, distribution, 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment