forked from Expander/FlexibleSUSY
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
let CreateLocalConstRefs[] handle DependenceNums
If an expression contain a symbol (not a function!) that has a DependenceNum, the CreateLocalConstRefs[] function creates a local const reference for the symbol. For example for ThetaW in the expression g1 ThetaW + g2 ThetaW a local const ref will be created. However, for the expression g1 ThetaW[] + g2 ThetaW[] no local const ref will be created, because ThetaW[] is a function.
- Loading branch information
Alexander Voigt
authored and
Alexander Voigt
committed
Oct 4, 2015
1 parent
10767b3
commit 3b6c2f8
Showing
1 changed file
with
17 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