-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved Uncontract to work with tensors (using DataType FCTensor) th…
…at are not defined in the Global` context.
- Loading branch information
Vladyslav Shtabovenko
committed
Jan 6, 2016
1 parent
dc95bab
commit 7deccf5
Showing
3 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,8 @@ | |
at = Last[ef], | ||
f = ef | ||
]; | ||
DataType[ef,FCTensor]=True; | ||
|
||
With[ {tf = f}, | ||
If [at=!="", | ||
Which[ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters