Skip to content

Commit

Permalink
Fix vectorized photochemistry
Browse files Browse the repository at this point in the history
For me this triggered with vexcl, but it wouldn't have worked with any
other runtime-resizeable vector classes either.

With this fix, "make check" works for me again.
  • Loading branch information
roystgnr committed Feb 13, 2014
1 parent b2cc7fc commit f03cc63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kinetics/include/antioch/photochemical_rate.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ namespace Antioch{
template <typename StateType>
ANTIOCH_AUTO(StateType)
rate(const StateType& T) const
ANTIOCH_AUTOFUNC(StateType, StateType(_k))
ANTIOCH_AUTOFUNC(StateType, Antioch::constant_clone(T, _k))

//! \return the derivative with respect to temperature.
template <typename StateType>
Expand Down

0 comments on commit f03cc63

Please sign in to comment.