Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ jobs:
path: ${{env.Bin}}
merge-multiple: true

- name: List Release Directiory
- name: List Release Directory
run: |
ls -l ${{env.Bin}}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ guix package --install astroterm # add to current profile
- **Linux:** `linux`
- **macOS:** `darwin`
- Replace `<arch>` with the appropriate architecture:
- **Linux:** `x86_64` (arm64 support to come after [Ubuntu arm64 runners](https://github.blog/news-insights/product-news/arm64-on-github-actions-powering-faster-more-efficient-build-systems/) are avilable)
- **Linux:** `x86_64` (arm64 support to come after [Ubuntu arm64 runners](https://github.blog/news-insights/product-news/arm64-on-github-actions-powering-faster-more-efficient-build-systems/) are available)
- **Apple Silicon (M-series):** `aarch64`
- **Intel-based Macs:** `x86_64`
- To view all supported combinations, see the [Releases](https://github.com/da-luce/astroterm/releases) page.
Expand Down
4 changes: 2 additions & 2 deletions include/coord.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* Coordinate system utilities.
*
* Coordinate systems definitons
* Coordinate systems definitions
* - All angles in radians unless otherwise noted
* - Using common mathmatical conventions as opposed to physics
* - Using common mathematical conventions as opposed to physics
* - https://en.wikipedia.org/wiki/Spherical_coordinate_system
* - FIXME: this is not the ISO standard, maybe we should change it.
*
Expand Down
2 changes: 1 addition & 1 deletion src/astro.c
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ const char *get_zodiac_symbol(int month, int day)
/* Takes the normalized age of the moon within the synodic month
* (phase ∈ [0, 1)), and returns the phase of the moon [0,1,...,7], where
* 0 : new moon
* 1 : waxing cresent
* 1 : waxing crescent
* ...
* 4 : full moon
* etc.
Expand Down
2 changes: 1 addition & 1 deletion src/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ bool star_numbers_by_magnitude(int **num_by_mag, const struct Star *star_table,
memcpy(table_copy, star_table, num_stars * sizeof(*table_copy));
qsort(table_copy, num_stars, sizeof(struct Star), star_magnitude_comparator);

// Create and fill array of indicies in table copy
// Create and fill array of indices in table copy
*num_by_mag = malloc(num_stars * sizeof(int));
if (*num_by_mag == NULL)
{
Expand Down
2 changes: 1 addition & 1 deletion src/core_render.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ void render_azimuthal_grid(WINDOW *win, const struct Conf *config)
int step_sizes[5] = {10, 15, 30, 45, 90};
int length = sizeof(step_sizes) / sizeof(step_sizes[0]);

// Minumum number of rows separating grid line (at end of window)
// Minimum number of rows separating grid line (at end of window)
int min_height = 10;

// Set the step size to the smallest desirable increment
Expand Down
2 changes: 1 addition & 1 deletion src/stopwatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// UNIX headers
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
#include <sys/time.h>
#include <unistd.h> // Needed for _POSIX_TIMERS definintion & usleep()
#include <unistd.h> // Needed for _POSIX_TIMERS definition & usleep()
#endif

// Windows headers
Expand Down
2 changes: 1 addition & 1 deletion src/strptime.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ char *strptime(const char *buf, const char *fmt, struct tm *tm)
continue;

case 'x': /* The date, using the locale's format. */
/* fall throug */
/* fall through */

case 'D': /* The date as "%y/%m/%d". */
{
Expand Down
2 changes: 1 addition & 1 deletion test/core_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ void test_update_planet_positions(void)
TEST_ASSERT_DOUBLE_WITHIN(P_EPSILON, -0.341956, planet_table[MARS].base.altitude);

// Verify Neptune's position is correct
// Note that the outer planets have extra kep elements (position takes mroe calculation)
// Note that the outer planets have extra kep elements (position takes more calculation)
// https://stellarium-web.org/skysource/Neptune?fov=120.00&date=2020-10-23T12:00:00Z&lat=42.36&lng=-71.06&elev=0
TEST_ASSERT_DOUBLE_WITHIN(P_EPSILON, 5.5390816, planet_table[NEPTUNE].base.azimuth);
TEST_ASSERT_DOUBLE_WITHIN(P_EPSILON, -0.779650, planet_table[NEPTUNE].base.altitude);
Expand Down
Loading