~ubuntu-branches/ubuntu/trusty/ffc/trusty

« back to all changes in this revision

Viewing changes to sandbox/swig/optimise.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Johannes Ring
  • Date: 2009-09-25 09:41:39 UTC
  • Revision ID: james.westby@ubuntu.com-20090925094139-nb845p3ffs8j5ike
Tags: upstream-0.7.0
ImportĀ upstreamĀ versionĀ 0.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "optimise.h"
 
2
//#include <iostream>
 
3
 
 
4
Symbol::Symbol(std::string name, std::string type) :
 
5
name(name), type(type)
 
6
{
 
7
//  std::cout << "Initialise Symbol" << std::endl;
 
8
}
 
9
 
 
10
Symbol Symbol::copy()
 
11
{
 
12
//  return Symbol(name, count, type);
 
13
  return *this;
 
14
}
 
15
 
 
16
Product::Product(std::vector<Symbol> vars) : vars(vars)
 
17
//Product::Product(std::vector<int> vars) : vars(vars)
 
18
{
 
19
}
 
20
 
 
21