summaryrefslogtreecommitdiff
path: root/src/tolsac.c
diff options
context:
space:
mode:
authoradmin <contact@optics-design.com>2025-05-24 17:38:59 +0200
committeradmin <contact@optics-design.com>2025-05-24 17:38:59 +0200
commitf9e1e76011236f05d6e2c3b62e2ae2969c64f808 (patch)
tree0e790dc70598c414de9a9b9a9492b498b345ca39 /src/tolsac.c
parent337a53667a8f3327e30f69d3df589d7b5eb91b9d (diff)
Adjusted files for cross-compilation on Linux
Diffstat (limited to 'src/tolsac.c')
-rw-r--r--src/tolsac.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tolsac.c b/src/tolsac.c
index ee89921..7707a01 100644
--- a/src/tolsac.c
+++ b/src/tolsac.c
@@ -202,7 +202,7 @@ void display_help(void) {
"50 is the number of iterations produced (not required for the "
"grid and sensitivity samplings)\n"
"-o Output.csv specifies the output path and filename.\n"
- "If not provided, output will be named Sampled_[Input.csv] in the current directory.\n"
+ "If not provided, output will be named sampled_[Input.csv] in the current directory.\n"
"If you are unsure how the input should look like, "
"run the program with the -e option to generate an example "
"input file.\n\n"
@@ -224,7 +224,7 @@ void display_help(void) {
// Function to generate example file
void generate_example(void) {
- FILE *writefile = fopen("Example.csv", "w");
+ FILE *writefile = fopen("example.csv", "w");
if (!writefile) {
printf("Error creating example file!\n");
return;
@@ -239,7 +239,7 @@ void generate_example(void) {
fprintf(writefile, "Standard Deviation, 0, 0, 1.3, 1.0\n");
fclose(writefile);
- printf("Example.csv file generated!\n");
+ printf("example.csv file generated!\n");
}
// Optimized LHS interval generation that transposes for better cache locality
@@ -357,7 +357,7 @@ i32 main(i32 argc, char *argv[]) {
file_ptr = strrchr(rfilename, '/');
}
- strcpy(wfilename, "Sampled_");
+ strcpy(wfilename, "sampled_");
if (file_ptr) {
strcat(wfilename, file_ptr + 1);
} else {
Back to https://optics-design.com