| 243 | } |
| 244 | |
| 245 | void highsFprintfString(FILE* file, const HighsLogOptions& log_options_, |
| 246 | const std::string& s) { |
| 247 | if (file == nullptr) return; |
| 248 | if (file == stdout) { |
| 249 | highsLogUser(log_options_, HighsLogType::kInfo, "%s", s.c_str()); |
| 250 | } else { |
| 251 | fprintf(file, "%s", s.c_str()); |
| 252 | } |
| 253 | } |
| 254 | |
| 255 | std::string getFilenameExt(const std::string& filename) { |
| 256 | std::string name = filename; |
no test coverage detected