Fixed C# example file problem with enum

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-08-21 09:02:41 +02:00
parent ec069fa84f
commit e22f2be08e

View File

@@ -9,7 +9,7 @@ namespace ConsoleApplication1
static void Main(string[] args)
{
AbstractState State = AbstractState.factory("HEOS","Water");
State.update((int)input_pairs.PT_INPUTS, 1e5, 300);
State.update(input_pairs.PT_INPUTS, 1e5, 300);
double hmol = State.hmolar();
Console.Write("Hmol: " + hmol + " J/kg" + "\n");