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 required string Name { get; set; }
public required FunctionValue Value { get; set; }
public string Name { get; set; }
public FunctionValue Value { get; set; }
public FunctionArgument(string name, FunctionValue fv)
{

View file

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