~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to extern/solid/include/MT/Interval.h

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#ifndef INTERVAL_H
25
25
#define INTERVAL_H
26
26
 
 
27
#if defined (__sgi)
 
28
#include <assert.h>
 
29
#else
27
30
#include <cassert>
 
31
#endif
 
32
 
28
33
#include <iostream>
29
34
#include <algorithm>
30
35
 
111
116
        inline std::ostream& 
112
117
        operator<<(std::ostream& os, const Interval<Scalar>& z)
113
118
        {
114
 
                return os << '[' << x.lower() << ", " << x.upper() << ']';
 
119
                return os << '[' << z.lower() << ", " << z.upper() << ']';
115
120
        }
116
121
 
117
122
        template <typename Scalar>