Skip to content

Commit

Permalink
KrancTensor.m: Weirdness with packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhinder committed Jun 4, 2011
1 parent 5e8c1d4 commit 292f3f7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Tools/CodeGen/KrancTensor.m
Expand Up @@ -23,9 +23,9 @@
(****************************************************************************)
(* Wrapper providing tensor support to Kranc (from TensorTools or xTensor) *)
(****************************************************************************)
If[!ValueQ[$KrancTensorPackage], $KrancTensorPackage = "TensorToolsKranc`"];

BeginPackage["KrancTensor`", {"Errors`", "KrancThorn`", "MapLookup`", "KrancGroups`", "Kranc`", $KrancTensorPackage}];
$KrancTensorPackage = "TensorToolsKranc`";

BeginPackage["KrancTensor`", {"Errors`", "KrancThorn`", "MapLookup`", "KrancGroups`", "Kranc`", $KrancTensorPackage, "ConservationCalculation`", "TensorTools`"}];

CreateKrancThornTT::usage = "Construct a Kranc thorn using tensor expressions.";
Expand All @@ -48,6 +48,8 @@
expCalcs = Map[makeCalculationExplicit, calcs];
expConsCalcs = Map[makeCalculationExplicit, consCalcs];

Print["expConsCalcs = ", expConsCalcs];

InfoMessage[Info, "Group definitions:", groups];
VerifyGroups[groups];

Expand Down

0 comments on commit 292f3f7

Please sign in to comment.