Skip to content

Commit

Permalink
Fixed braces in initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
hannorein committed Feb 9, 2024
1 parent 08ae387 commit 5f1d9a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rotations.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,11 +316,11 @@ struct reb_rotation reb_rotation_slerp(struct reb_rotation q1, struct reb_rotati
// Matrix methods, mostly used for visualization

struct reb_mat4df reb_mat4df_identity(){
struct reb_mat4df i = {
struct reb_mat4df i = { .m={
1.,0.,0.,0.,
0.,1.,0.,0.,
0.,0.,1.,0.,
0.,0.,0.,1.};
0.,0.,0.,1.}};
return i;
}

Expand Down

0 comments on commit 5f1d9a3

Please sign in to comment.