]> www.ginac.de Git - ginac.git/blob - check/check_mul_info.cpp
Shortcut conversion ex->numeric->ex in expairseq::make_flat().
[ginac.git] / check / check_mul_info.cpp
1 #include "ginac.h"
2 #include <iostream>
3 using namespace GiNaC;
4
5 int main(int argc, char** argv)
6 {
7         symbol x("x"), y("y");
8         ex e = x*y;
9         if (!e.info(info_flags::indefinite)) {
10                 std::cerr << "eek, product of two symbols is NOT indefinite";
11                 return 1;
12         }
13         return 0;
14 }