Skip to content

Commit e17fe02

Browse files
committed
tidy
1 parent d222549 commit e17fe02

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

styleguide.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ This style guide outlines the conventions and best practices for contributing to
55
## General Guidelines
66

77
- **Use inline methods**: Inline methods are preferred for performance reasons.
8-
- **Use Scala's `tap` method**: Use `tap` for chaining operations on collections and arrays for readability.
98
- **Use `while` loops**: Prefer `while` loops over `for` loops for performance-critical sections, especially in JS and Native targets.
109
- **Use Java's SIMD `Vector` API**: On the JVM, leverage Java's SIMD `Vector` API for vectorized operations.
1110
- **Use tail recursion**: When implementing recursive methods, prefer tail recursion for performance improvements.
12-
- **Avoid side effects**: Try to minimize or eliminate side effects in methods to enhance clarity and maintainability.
1311

1412
## Code Structure
1513

vecxt/test/src/addition.test.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,7 @@ class MatrixAdditionTest extends FunSuite:
7070
)
7171
)
7272

73-
println(s"Matrix before addition: ${mat1.printMat}")
74-
println(s"subMatrix before addition: ${mat1.submatrix(0 to 1, 0 to 1).printMat}")
7573
mat1.submatrix(0 to 1, 0 to 1) += 1.0
76-
println(s"Matrix after addition: ${mat1.printMat}")
7774

7875
assertMatrixEquals(
7976
mat1,

0 commit comments

Comments
 (0)