From a1650586e58e1cd967d9ccf1476882f05ebf9398 Mon Sep 17 00:00:00 2001 From: David St-Onge Date: Fri, 27 Jan 2017 19:05:17 -0500 Subject: [PATCH] minor fix --- src/buzzuav_closures.cpp | 2 +- src/test1.bzz | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/buzzuav_closures.cpp b/src/buzzuav_closures.cpp index 8eeb005..0618a72 100644 --- a/src/buzzuav_closures.cpp +++ b/src/buzzuav_closures.cpp @@ -62,7 +62,7 @@ int buzzros_print(buzzvm_t vm) { /****************************************/ /****************************************/ -#define EARTH_RADIUS 6371000 +#define EARTH_RADIUS 6371000.0 /*convert from spherical to cartesian coordinate system callback */ void cartesian_coordinates(double spherical_pos_payload [], double out[]){ double latitude, longitude, rho; diff --git a/src/test1.bzz b/src/test1.bzz index fd793d7..9cdacc3 100644 --- a/src/test1.bzz +++ b/src/test1.bzz @@ -15,7 +15,7 @@ TARGET_ALTITUDE = 10.1 # Lennard-Jones parameters TARGET = 5 #0.000001001 -EPSILON = 20 #0.001 +EPSILON = 80 #0.001 # Lennard-Jones interaction magnitude function lj_magnitude(dist, target, epsilon) {