Commit 6a6cbaa1 authored by Daniel Flickinger's avatar Daniel Flickinger
Browse files

fixes... rmcd.c compiles now

parent 05e7fce1
......@@ -195,12 +195,14 @@ static void conv_a2r(struct position *rel,
struct position *abs_start,
struct position *abs_finish)
{
float ct, st;
assert(rel != NULL);
assert(abs_start != NULL);
assert(abs_finish != NULL);
float ct, st;
ct = cos(abs_start->theta);
st = sin(abs_start->theta);
......@@ -226,11 +228,15 @@ static void conv_r2a(struct position *abs_finish,
struct position *abs_start,
struct position *rel)
{
float ct, st;
assert(rel != NULL);
assert(abs_start != NULL);
assert(abs_finish != NULL);
float ct, st;
ct = cos(abs_start->theta);
st = sin(abs_start->theta);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment