function value issue

This commit is contained in:
Jordan Wages 2025-08-20 01:07:45 -05:00
commit fb2c62399c
2 changed files with 4 additions and 11 deletions

View file

@ -8,8 +8,8 @@ namespace csmic
{ {
public class FunctionArgument public class FunctionArgument
{ {
public required string Name { get; set; } public string Name { get; set; }
public required FunctionValue Value { get; set; } public FunctionValue Value { get; set; }
public FunctionArgument(string name, FunctionValue fv) public FunctionArgument(string name, FunctionValue fv)
{ {

View file

@ -1,9 +1,5 @@
using csmic; using csmic;
using System; using ValueType = csmic.ValueType;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace stdlib.functions namespace stdlib.functions
{ {
@ -13,10 +9,7 @@ namespace stdlib.functions
{ {
get get
{ {
yield return new FunctionArgument( yield return new FunctionArgument("value", new FunctionValue(ValueType.Numeric, 0m));
name: "value",
fv: new FunctionValue(ValueType.Numeric, 0m)
);
} }
} }