Changeset 1879 for trunk/psLib/src/math/psMinimize.c
- Timestamp:
- Sep 24, 2004, 10:08:22 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psMinimize.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psMinimize.c
r1861 r1879 9 9 * @author George Gusciora, MHPCC 10 10 * 11 * @version $Revision: 1.4 7$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-09-2 3 06:12:22 $11 * @version $Revision: 1.48 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-09-24 20:08:22 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 730 730 731 731 PS_CHECK_NULL_1DPOLY(myPoly); 732 PS_CHECK_NULL_VECTOR(x);733 PS_CHECK_EMPTY_VECTOR(x);734 732 PS_CHECK_NULL_VECTOR(y); 735 733 PS_CHECK_EMPTY_VECTOR(y); 734 735 // XXX: Verify that this is the correct action. 736 if (x == NULL) { 737 x = psVectorAlloc(y->n, PS_TYPE_F32); 738 for (i=0;i<x->n;i++) { 739 x->data.F32[i] = (float) i; 740 } 741 } 742 743 PS_CHECK_EMPTY_VECTOR(x); 736 744 PS_CHECK_NULL_VECTOR(yErr); 737 745 PS_CHECK_EMPTY_VECTOR(yErr);
Note:
See TracChangeset
for help on using the changeset viewer.
