Skip to content

Commit 79313db

Browse files
committed
ImgMath: rename field in Var for clarity.
1 parent e0c39a1 commit 79313db

File tree

1 file changed

+6
-6
lines changed
  • src/main/java/net/imglib2/algorithm/math

1 file changed

+6
-6
lines changed

src/main/java/net/imglib2/algorithm/math/Var.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
public final class Var implements IVar
1212
{
1313
private final String name;
14-
private final RealType< ? > scrap;
14+
private final RealType< ? > value;
1515

1616
public Var( final String name ) {
1717
this( null, name );
1818
}
1919

20-
public Var( final RealType< ? > scrap, final String name )
20+
public Var( final RealType< ? > value, final String name )
2121
{
22-
this.scrap = scrap;
22+
this.value = value;
2323
this.name = name;
2424
}
2525

@@ -32,19 +32,19 @@ public String getName()
3232
@Override
3333
public RealType< ? > getScrap()
3434
{
35-
return this.scrap;
35+
return this.value;
3636
}
3737

3838
@Override
3939
public final RealType< ? > eval()
4040
{
41-
return this.scrap;
41+
return this.value;
4242
}
4343

4444
@Override
4545
public final RealType< ? > eval( final Localizable loc )
4646
{
47-
return this.scrap;
47+
return this.value;
4848
}
4949

5050
@Override

0 commit comments

Comments
 (0)