mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
[Matlab] Fix Kinetics.isReversible
This commit is contained in:
parent
76322252e0
commit
026c5c7075
@ -429,7 +429,7 @@ classdef Kinetics < handle
|
|||||||
% :return:
|
% :return:
|
||||||
% True if reaction number i is reversible. false if irreversible.
|
% True if reaction number i is reversible. false if irreversible.
|
||||||
|
|
||||||
n = boolean(ctFunc('kin_isReversible', kin.kinID, i - 1));
|
n = ctFunc('kin_isReversible', kin.kinID, i - 1) == 1;
|
||||||
end
|
end
|
||||||
|
|
||||||
function wdot = get.netProdRates(kin)
|
function wdot = get.netProdRates(kin)
|
||||||
|
Loading…
Reference in New Issue
Block a user