mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
misc fixes
This commit is contained in:
@@ -539,8 +539,10 @@ static int amax(double *x, int j, int n) {
|
||||
for (k = i + 1; k < n; ++k) {
|
||||
if (c[k + i * idem] != 0.0) goto FOUND_PIVOT;
|
||||
}
|
||||
#ifdef DEBUG_HKM
|
||||
sprintf(sbuf,"vcs_mlequ ERROR: Encountered a zero column: %d\n", i);
|
||||
writelog(sbuf);
|
||||
#endif
|
||||
return 1;
|
||||
FOUND_PIVOT: ;
|
||||
for (j = 0; j < n; ++j) c[i + j * idem] += c[k + j * idem];
|
||||
|
||||
@@ -799,7 +799,7 @@ namespace Cantera {
|
||||
|
||||
// Add an entry to the log file.
|
||||
// @ingroup HTML_logs
|
||||
void Cantera::addLogEntry(std::string msg) {
|
||||
void addLogEntry(std::string msg) {
|
||||
if (s_app->loglevel > 0 && s_app->current)
|
||||
s_app->current->addChild("li",msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user