[apps] Build all apps

This commit is contained in:
Léa Saviot
2018-10-10 17:22:06 +02:00
committed by Émilie Feral
parent 8ec6673aee
commit 21b214e60f
10 changed files with 17 additions and 11 deletions

View File

@@ -21,7 +21,8 @@ const Expression CacheContext<T>::expressionForSymbol(const SymbolAbstract & sym
&& (symbol.name()[0] == SequenceStore::k_sequenceNames[0][0] || symbol.name()[0] == SequenceStore::k_sequenceNames[1][0])
&& (strcmp(symbol.name()+1, "(n)") == 0 || strcmp(symbol.name()+1, "(n+1)") == 0))
{
return Float<T>(m_values[nameIndexForSymbol(symbol)][rankIndexForSymbol(symbol)]);
Symbol s = const_cast<Symbol &>(static_cast<const Symbol &>(symbol));
return Float<T>(m_values[nameIndexForSymbol(s)][rankIndexForSymbol(s)]);
}
return VariableContext::expressionForSymbol(symbol);
}