CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

Views: 418346
1
/****************************************************************************
2
**
3
*A consistency_info.c ANUPQ source Eamonn O'Brien
4
**
5
*Y Copyright 1995-2001, Lehrstuhl D fuer Mathematik, RWTH Aachen, Germany
6
*Y Copyright 1995-2001, School of Mathematical Sciences, ANU, Australia
7
**
8
*/
9
10
#include "pq_defs.h"
11
#include "constants.h"
12
#include "pcp_vars.h"
13
#include "exp_vars.h"
14
#include "pq_functions.h"
15
16
/* read information for consistency checking */
17
18
void consistency_info(int *consistency_flag)
19
{
20
Logical reading = TRUE;
21
22
while (reading) {
23
read_value(
24
TRUE,
25
"Process all consistency relations (0), Type 1, Type 2, or Type 3? ",
26
consistency_flag,
27
0);
28
reading = (*consistency_flag > 3);
29
if (reading)
30
printf("Supplied value must lie between 0 and 3\n");
31
}
32
}
33
34