Skip to content

Commit

Permalink
Make xTensor aware of StepFunction
Browse files Browse the repository at this point in the history
  • Loading branch information
barrywardell committed Mar 7, 2014
1 parent c25de18 commit 7b46b12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/CodeGen/Kranc.m
Expand Up @@ -137,7 +137,7 @@

(* TensorTools.m *)

{D1, D2, D3, D11, D22, D33, D21, D31, D32, D12, D13, D23, dot, Eps, Zero3}
{D1, D2, D3, D11, D22, D33, D21, D31, D32, D12, D13, D23, dot, Eps, Zero3, StepFunction}

(* ConservationCalculation.m *)
{flux, slopeL, slopeR, slope};
Expand Down
1 change: 1 addition & 0 deletions Tools/CodeGen/xTensorKranc.m
Expand Up @@ -65,6 +65,7 @@
DefManifold[KrancManifold, dimension, $KrancIndices];
DefBasis[KrancBasis, TangentKrancManifold, Range[dimension]];
DefInertHead[dot];
DefScalarFunction[StepFunction];
];

(*************************************************************)
Expand Down

0 comments on commit 7b46b12

Please sign in to comment.