Skip to content

Commit

Permalink
Fixes and warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
PapyChacal committed Oct 22, 2024
1 parent 3929ad6 commit 7cfa00b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/main/scala/uk/ac/ed/dal/structtensor/Main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import codegen._
import java.io.File
import scopt.OParser

object Main extends App {
object Main {
def main(args: Array[String]) = {
import Optimizer._
import Utils._

Expand Down Expand Up @@ -331,3 +332,4 @@ object Main extends App {
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ object Codegen {
case c: ConstantDouble => c.value.toString
case a @ Arithmetic(op, i1, i2) =>
s"(${CPPFormat(i1)} ${op} ${CPPFormat(i2)})"
case _ => ""
}
case a: Access =>
if (a.vars.isEmpty) CPPFormat(a.name)
Expand Down Expand Up @@ -81,7 +80,6 @@ object Codegen {
}
case _ => None
}
case _ => None
}
val (begin, end, equals, usedIndices) = (
begin_end_equals_usedIndices.map(_._1),
Expand Down

0 comments on commit 7cfa00b

Please sign in to comment.