Skip to content

Commit

Permalink
Fixed case
Browse files Browse the repository at this point in the history
  • Loading branch information
cascala committed Apr 14, 2018
1 parent 29df2fa commit 1572b59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/scala/tensor/Tensor.scala
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ object Tensor {
Tensor( indices, m )
}

def TransformationMatrix( unprimed:List[Expr], primed:List[Expr]):Tensor = {
def transformationMatrix( unprimed:List[Expr], primed:List[Expr]):Tensor = {
require( primed.size == unprimed.size )
//var jacobian:List[Expr] = List()
var jacobian = primed.map( primedE => unprimed.map( unprimedE => Derivative( unprimedE, primedE ).visit() ) ).flatten
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/tensor/CoordinateTransformation.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class CoordinateTransformationTest extends FunSuite {
val z = Product( r, CosF1( omega ) )

// Transformation matrix
val Lambda = Tensor.TransformationMatrix(
val Lambda = Tensor.transformationMatrix(
List( x, y, z ), // old coords, unprimed
List( r, omega, phi ) // new coords, primed
)
Expand Down

0 comments on commit 1572b59

Please sign in to comment.