We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66bd99b + f4984ca commit 89ffeedCopy full SHA for 89ffeed
2 files changed
+combustiontoolbox/+core/@ChemicalSystem/findProducts.m
@@ -77,7 +77,7 @@
77
NS = length(listSpecies_DB);
78
FLAG_REMOVE = false(NS, 1);
79
for i = 1:NS
80
- if self.DB.(listSpecies_DB{i}).phase == 1
+ if obj.database.species.(listSpecies_DB{i}).phase ~= 0
81
FLAG_REMOVE(i) = true;
82
end
83
+combustiontoolbox/+databases/@NasaDatabase/NasaDatabase.m
@@ -419,7 +419,7 @@
419
temp.Tintervals = str2double(tline(1:2));
420
temp.refCode = tline(4:9);
421
temp.formula = tline(11:50);
422
- temp.phase = str2double(tline(51:52));
+ temp.phase = double(str2double(tline(51:52)) ~= 0);
423
temp.W = str2double(tline(53:65)) * 1e-3; % [kg/mol]
424
temp.hf = str2double(tline(66:80));
425
0 commit comments