diff --git a/dotnet/examples/3_Levels.cs b/dotnet/examples/3_Levels.cs
index 25d9cc21f..e34df5169 100644
--- a/dotnet/examples/3_Levels.cs
+++ b/dotnet/examples/3_Levels.cs
@@ -89,7 +89,7 @@ special prime +---------+
In this example the PlainModulus does not play much of a role; we choose
some reasonable value.
*/
- parms.PlainModulus = PlainModulus.Batching(polyModulusDegree, 20);//new SmallModulus(1 << 20);
+ parms.PlainModulus = PlainModulus.Batching(polyModulusDegree, 20);
SEALContext context = new SEALContext(parms);
Utilities.PrintParameters(context);
diff --git a/dotnet/examples/SEALNetExamples.csproj b/dotnet/examples/SEALNetExamples.csproj
index 83f5e386d..bfc4231a3 100644
--- a/dotnet/examples/SEALNetExamples.csproj
+++ b/dotnet/examples/SEALNetExamples.csproj
@@ -1,31 +1,31 @@
-
-
-
- Exe
- netcoreapp2.1
- Microsoft Research
- Microsoft Corporation
- .NET wrapper examples for Microsoft SEAL
- Microsoft Corporation 2019
-
-
-
- x64
- ../bin/$(Configuration)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ Exe
+ netcoreapp2.1
+ Microsoft Research
+ Microsoft Corporation
+ .NET wrapper examples for Microsoft SEAL
+ Microsoft Corporation 2019
+
+
+
+ x64
+ ../bin/$(Configuration)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dotnet/tests/SEALNetTest.csproj b/dotnet/tests/SEALNetTest.csproj
index ba051ba5b..26e4c04b7 100644
--- a/dotnet/tests/SEALNetTest.csproj
+++ b/dotnet/tests/SEALNetTest.csproj
@@ -1,37 +1,37 @@
-
-
-
- netcoreapp2.1
- false
- Microsoft Research
- Microsoft Corporation
- .NET wrapper unit tests for Microsoft SEAL
- Microsoft Corporation 2019
-
-
-
- x64
- ../lib/$(Configuration)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ netcoreapp2.1
+ false
+ Microsoft Research
+ Microsoft Corporation
+ .NET wrapper unit tests for Microsoft SEAL
+ Microsoft Corporation 2019
+
+
+
+ x64
+ ../lib/$(Configuration)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/native/src/seal/evaluator.cpp b/native/src/seal/evaluator.cpp
index 751610d45..ebebcd823 100644
--- a/native/src/seal/evaluator.cpp
+++ b/native/src/seal/evaluator.cpp
@@ -1868,10 +1868,6 @@ namespace seal
{
throw invalid_argument("plain is not valid for encryption parameters");
}
- if (!context_->get_context_data(encrypted.parms_id()))
- {
- throw invalid_argument("encrypted is not valid for encryption parameters");
- }
if (encrypted.is_ntt_form() != plain.is_ntt_form())
{
throw invalid_argument("NTT form mismatch");