mirror of
https://github.com/IRS-Public/direct-file.git
synced 2025-06-27 20:25:52 +00:00
Boolean => Int
This commit is contained in:
parent
223b94d827
commit
4082629c93
1 changed files with 2 additions and 2 deletions
|
@ -31,5 +31,5 @@ object Modulo extends CompNodeFactory:
|
||||||
|
|
||||||
this(lhs, rhs)
|
this(lhs, rhs)
|
||||||
|
|
||||||
private final class ModuloOperator extends BinaryOperator[Boolean, Any, Any]:
|
private final class ModuloOperator extends BinaryOperator[Int, Any, Any]:
|
||||||
override protected def operation(x: Any, y: Any): Boolean = x % y
|
override protected def operation(x: Any, y: Any): Int = x % y
|
Loading…
Add table
Add a link
Reference in a new issue