genius r719 - in trunk: . src



Author: jirka
Date: Mon Feb 16 01:50:26 2009
New Revision: 719
URL: http://svn.gnome.org/viewvc/genius?rev=719&view=rev

Log:

Sun Feb 15 19:50:15 2009  Jiri (George) Lebl <jirka 5z com>

	* src/graphing.c: fix tlen default (to be 5 not 0.1), tinc default is
	  set according to tlen



Modified:
   trunk/ChangeLog
   trunk/src/graphing.c

Modified: trunk/src/graphing.c
==============================================================================
--- trunk/src/graphing.c	(original)
+++ trunk/src/graphing.c	Mon Feb 16 01:50:26 2009
@@ -185,7 +185,7 @@
 
 static double solver_xinc = 0.1;
 static double solver_tinc = 0.1;
-static double solver_tlen = 0.1;
+static double solver_tlen = 5;
 static double solver_x = 0.0;
 static double solver_y = 0.0;
 
@@ -1574,7 +1574,7 @@
 	} else {
 		solver_dialog_slopefield = FALSE;
 
-		solver_tinc = (plotx2-plotx1) / 100;
+		solver_tinc = solver_tlen / 100;
 
 		if (solver_tinc <= 0.005)
 			inc = 0.001;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]