OSDN Git Service

Add: PIONE tutorial Advanced4 new version.
[eos/tutorial.git] / SampleCode / PIONE / Advanced4 / Create_stack.pione
index 9af5c1d..8655355 100644 (file)
@@ -27,8 +27,8 @@ Action
        
        image_size={$X_SIZE}
        
-       if [ ${image_size} -lt ${Y_SIZE} ] ; then \
-               image_size=${Y_SIZE}
+       if [ ${image_size} -lt {$Y_SIZE} ] ; then \
+               image_size={$Y_SIZE}
        fi
        
        sampling_length=$(echo "scale=15.7; ${length} * {$SHRINK} * ${ref_size} / ${image_size}" | bc)