Skip to content

Commit 34fb3b9

Browse files
committed
fix vs2015 solution
1 parent 6de8bd2 commit 34fb3b9

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

src/ConvNetSharp.Flow/ConvNetSharp.Flow.2015.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<DefineConstants>DEBUG;TRACE</DefineConstants>
2222
<ErrorReport>prompt</ErrorReport>
2323
<WarningLevel>4</WarningLevel>
24+
<LangVersion>6</LangVersion>
2425
</PropertyGroup>
2526
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2627
<DebugType>pdbonly</DebugType>

src/ConvNetSharp.Flow/Layers/ConvLayer.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public ConvLayer(int width, int height, int filterCount)
2525

2626
public T BiasPref
2727
{
28-
get => this._biasPref;
28+
get { return this._biasPref; }
2929
set
3030
{
3131
this._biasPref = value;
@@ -39,7 +39,7 @@ public T BiasPref
3939

4040
public int Stride
4141
{
42-
get => this._stride;
42+
get { return this._stride; }
4343
set
4444
{
4545
this._stride = value;
@@ -52,7 +52,7 @@ public int Stride
5252

5353
public int Pad
5454
{
55-
get => this._pad;
55+
get { return this._pad; }
5656
set
5757
{
5858
this._pad = value;

src/ConvNetSharp.Flow/Layers/PoolLayer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public PoolLayer(int width, int height)
2020

2121
public int Stride
2222
{
23-
get => this._stride;
23+
get { return this._stride; }
2424
set
2525
{
2626
this._stride = value;
@@ -34,7 +34,7 @@ public int Stride
3434

3535
public int Pad
3636
{
37-
get => this._pad;
37+
get { return this._pad; }
3838
set
3939
{
4040
this._pad = value;

0 commit comments

Comments
 (0)