~ubuntu-branches/ubuntu/vivid/atlas/vivid

« back to all changes in this revision

Viewing changes to tune/blas/level1/DOT/dot_stub.c

  • Committer: Bazaar Package Importer
  • Author(s): Sylvestre Ledru
  • Date: 2009-09-17 23:31:54 UTC
  • mto: (2.2.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20090917233154-9esw88ub02twbuab
Tags: upstream-3.8.3
ImportĀ upstreamĀ versionĀ 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
         incy = -incY;
54
54
         Y += ((N-1)SHIFT)*incY;
55
55
      }
56
 
      else if (!incX || !incY) return;
 
56
   #ifdef TREAL
 
57
      else if (!incX || !incY) return(0.0);
 
58
   #else
 
59
      else if (!incX || !incY) {*dot = dot[1] = 0.0; return;}
 
60
   #endif
57
61
L1:
58
62
      #ifdef TREAL
59
63
         dot = ATL_UDOT(N, X, incx, Y, incy);